diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap/linus/0055-ARM-it8152-add-IT8152_LAST_IRQ-definition-to-fix-bui.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap/linus/0055-ARM-it8152-add-IT8152_LAST_IRQ-definition-to-fix-bui.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap/linus/0055-ARM-it8152-add-IT8152_LAST_IRQ-definition-to-fix-bui.patch b/extras/recipes-kernel/linux/linux-omap/linus/0055-ARM-it8152-add-IT8152_LAST_IRQ-definition-to-fix-bui.patch new file mode 100644 index 00000000..9a1f006b --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap/linus/0055-ARM-it8152-add-IT8152_LAST_IRQ-definition-to-fix-bui.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 83c04c29567a2f57c4881c8c11bce2bd4bc0b0ab Mon Sep 17 00:00:00 2001 | ||
2 | From: Mike Rapoport <mike@compulab.co.il> | ||
3 | Date: Wed, 29 Dec 2010 09:06:26 +0200 | ||
4 | Subject: [PATCH 55/65] ARM: it8152: add IT8152_LAST_IRQ definition to fix build error | ||
5 | |||
6 | The commit 6ac6b817f3f4c23c5febd960d8deb343e13af5f3 (ARM: pxa: encode | ||
7 | IRQ number into .nr_irqs) removed definition of ITE_LAST_IRQ which | ||
8 | caused the following build error: | ||
9 | |||
10 | CC arch/arm/common/it8152.o | ||
11 | arch/arm/common/it8152.c: In function 'it8152_init_irq': | ||
12 | arch/arm/common/it8152.c:86: error: 'IT8152_LAST_IRQ' undeclared (first use in this function) | ||
13 | arch/arm/common/it8152.c:86: error: (Each undeclared identifier is reported only once | ||
14 | arch/arm/common/it8152.c:86: error: for each function it appears in.) | ||
15 | make[2]: *** [arch/arm/common/it8152.o] Error 1 | ||
16 | |||
17 | Defining the IT8152_LAST_IRQ in the arch/arm/include/hardware/it8152.c | ||
18 | fixes the build. | ||
19 | |||
20 | Signed-off-by: Mike Rapoport <mike@compulab.co.il> | ||
21 | Signed-off-by: Eric Miao <eric.y.miao@gmail.com> | ||
22 | --- | ||
23 | arch/arm/include/asm/hardware/it8152.h | 1 + | ||
24 | 1 files changed, 1 insertions(+), 0 deletions(-) | ||
25 | |||
26 | diff --git a/arch/arm/include/asm/hardware/it8152.h b/arch/arm/include/asm/hardware/it8152.h | ||
27 | index 21fa272..b2f95c7 100644 | ||
28 | --- a/arch/arm/include/asm/hardware/it8152.h | ||
29 | +++ b/arch/arm/include/asm/hardware/it8152.h | ||
30 | @@ -76,6 +76,7 @@ extern unsigned long it8152_base_address; | ||
31 | IT8152_PD_IRQ(0) Audio controller (ACR) | ||
32 | */ | ||
33 | #define IT8152_IRQ(x) (IRQ_BOARD_START + (x)) | ||
34 | +#define IT8152_LAST_IRQ (IRQ_BOARD_START + 40) | ||
35 | |||
36 | /* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */ | ||
37 | #define IT8152_LD_IRQ_COUNT 9 | ||
38 | -- | ||
39 | 1.6.6.1 | ||
40 | |||