Skip to content

Commit

Permalink
ARM: SAMSUNG: Change the 3rd HSMMC interrupt name for compatibility
Browse files Browse the repository at this point in the history
This patch changes the 3rd HSMMC interrupt name for compatibility
from IRQ_MMC to IRQ_HSMMC3.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Oct 20, 2010
1 parent 33f469d commit eda9c02
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s5pv210/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@

#define IRQ_IPC S5P_IRQ_VIC3(0)
#define IRQ_HOSTIF S5P_IRQ_VIC3(1)
#define IRQ_MMC3 S5P_IRQ_VIC3(2)
#define IRQ_HSMMC3 S5P_IRQ_VIC3(2)
#define IRQ_CEC S5P_IRQ_VIC3(3)
#define IRQ_TSI S5P_IRQ_VIC3(4)
#define IRQ_MDNIE0 S5P_IRQ_VIC3(5)
Expand Down
5 changes: 5 additions & 0 deletions arch/arm/mach-s5pv310/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@

#define IRQ_IIC COMBINER_IRQ(27, 0)

#define IRQ_HSMMC0 COMBINER_IRQ(29, 0)
#define IRQ_HSMMC1 COMBINER_IRQ(29, 1)
#define IRQ_HSMMC2 COMBINER_IRQ(29, 2)
#define IRQ_HSMMC3 COMBINER_IRQ(29, 3)

#define IRQ_ONENAND_AUDI COMBINER_IRQ(34, 0)

/* Set the default NR_IRQS */
Expand Down
4 changes: 2 additions & 2 deletions arch/arm/plat-samsung/dev-hsmmc3.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ static struct resource s3c_hsmmc3_resource[] = {
.flags = IORESOURCE_MEM,
},
[1] = {
.start = IRQ_MMC3,
.end = IRQ_MMC3,
.start = IRQ_HSMMC3,
.end = IRQ_HSMMC3,
.flags = IORESOURCE_IRQ,
}
};
Expand Down

0 comments on commit eda9c02

Please sign in to comment.