aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Hilman <khilman@linaro.org>2013-10-14 18:25:21 -0400
committerKevin Hilman <khilman@linaro.org>2013-10-14 18:25:32 -0400
commit20b2f1ac85207bfea397e2fdb34cb4b3515ad919 (patch)
tree6c9a8761eb0dfca1c5abc4b388dda65e72ec4c3e
parent15c03dd4859ab16f9212238f29dd315654aa94f6 (diff)
parent8ff875e7f93e900e7a7e78f1c9c05a22b33c27cf (diff)
Merge tag 'omap-for-v3.13/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes-non-critical
From Tony Lindgren: Fixes for omaps that were not considered urgent for the -rc series. Just minor build fixes, removal of dead code, and a patch to use the die ID for increasing boot time entropy. * tag 'omap-for-v3.13/fixes-not-urgent-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: mach-omap1: Fix omap1510_fpga_init_irq() implicit declarations. ARM: OMAP1: fix incorrect placement of __initdata tag ARM: OMAP: remove deprecated IRQF_DISABLED ARM: OMAP2+: throw the die id into the entropy pool Signed-off-by: Kevin Hilman <khilman@linaro.org>
-rw-r--r--arch/arm/mach-omap1/common.h3
-rw-r--r--arch/arm/mach-omap1/fpga.c3
-rw-r--r--arch/arm/mach-omap1/gpio15xx.c8
-rw-r--r--arch/arm/mach-omap1/gpio16xx.c22
-rw-r--r--arch/arm/mach-omap1/gpio7xx.c30
-rw-r--r--arch/arm/mach-omap1/pm.c1
-rw-r--r--arch/arm/mach-omap1/time.c2
-rw-r--r--arch/arm/mach-omap1/timer32k.c2
-rw-r--r--arch/arm/mach-omap2/id.c12
-rw-r--r--arch/arm/mach-omap2/timer.c2
-rw-r--r--arch/arm/plat-omap/dma.c1
11 files changed, 49 insertions, 37 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index abec019a5281..732f8ee2fcd2 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -46,6 +46,9 @@ static inline void omap7xx_map_io(void)
46void omap1510_fpga_init_irq(void); 46void omap1510_fpga_init_irq(void);
47void omap15xx_map_io(void); 47void omap15xx_map_io(void);
48#else 48#else
49static inline void omap1510_fpga_init_irq(void)
50{
51}
49static inline void omap15xx_map_io(void) 52static inline void omap15xx_map_io(void)
50{ 53{
51} 54}
diff --git a/arch/arm/mach-omap1/fpga.c b/arch/arm/mach-omap1/fpga.c
index 8bd71b2d0967..3c0e42219200 100644
--- a/arch/arm/mach-omap1/fpga.c
+++ b/arch/arm/mach-omap1/fpga.c
@@ -135,8 +135,7 @@ static struct irq_chip omap_fpga_irq = {
135 * mask_ack routine for all of the FPGA interrupts has been changed from 135 * mask_ack routine for all of the FPGA interrupts has been changed from
136 * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt 136 * fpga_mask_ack_irq() to fpga_ack_irq() so that the specific FPGA interrupt
137 * being serviced is left unmasked. We can do this because the FPGA cascade 137 * being serviced is left unmasked. We can do this because the FPGA cascade
138 * interrupt is installed with the IRQF_DISABLED flag, which leaves all 138 * interrupt is run with all interrupts masked.
139 * interrupts masked at the CPU while an FPGA interrupt handler executes.
140 * 139 *
141 * Limited testing indicates that this workaround appears to be effective 140 * Limited testing indicates that this workaround appears to be effective
142 * for the smc9194 Ethernet driver used on the Innovator. It should work 141 * for the smc9194 Ethernet driver used on the Innovator. It should work
diff --git a/arch/arm/mach-omap1/gpio15xx.c b/arch/arm/mach-omap1/gpio15xx.c
index 02b3eb2e201c..420e94bfdc6e 100644
--- a/arch/arm/mach-omap1/gpio15xx.c
+++ b/arch/arm/mach-omap1/gpio15xx.c
@@ -25,7 +25,7 @@
25#define OMAP1510_GPIO_BASE 0xFFFCE000 25#define OMAP1510_GPIO_BASE 0xFFFCE000
26 26
27/* gpio1 */ 27/* gpio1 */
28static struct __initdata resource omap15xx_mpu_gpio_resources[] = { 28static struct resource omap15xx_mpu_gpio_resources[] __initdata = {
29 { 29 {
30 .start = OMAP1_MPUIO_VBASE, 30 .start = OMAP1_MPUIO_VBASE,
31 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1, 31 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1,
@@ -48,7 +48,7 @@ static struct omap_gpio_reg_offs omap15xx_mpuio_regs = {
48 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE, 48 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE,
49}; 49};
50 50
51static struct __initdata omap_gpio_platform_data omap15xx_mpu_gpio_config = { 51static struct omap_gpio_platform_data omap15xx_mpu_gpio_config __initdata = {
52 .is_mpuio = true, 52 .is_mpuio = true,
53 .bank_width = 16, 53 .bank_width = 16,
54 .bank_stride = 1, 54 .bank_stride = 1,
@@ -66,7 +66,7 @@ static struct platform_device omap15xx_mpu_gpio = {
66}; 66};
67 67
68/* gpio2 */ 68/* gpio2 */
69static struct __initdata resource omap15xx_gpio_resources[] = { 69static struct resource omap15xx_gpio_resources[] __initdata = {
70 { 70 {
71 .start = OMAP1510_GPIO_BASE, 71 .start = OMAP1510_GPIO_BASE,
72 .end = OMAP1510_GPIO_BASE + SZ_2K - 1, 72 .end = OMAP1510_GPIO_BASE + SZ_2K - 1,
@@ -90,7 +90,7 @@ static struct omap_gpio_reg_offs omap15xx_gpio_regs = {
90 .pinctrl = OMAP1510_GPIO_PIN_CONTROL, 90 .pinctrl = OMAP1510_GPIO_PIN_CONTROL,
91}; 91};
92 92
93static struct __initdata omap_gpio_platform_data omap15xx_gpio_config = { 93static struct omap_gpio_platform_data omap15xx_gpio_config __initdata = {
94 .bank_width = 16, 94 .bank_width = 16,
95 .regs = &omap15xx_gpio_regs, 95 .regs = &omap15xx_gpio_regs,
96}; 96};
diff --git a/arch/arm/mach-omap1/gpio16xx.c b/arch/arm/mach-omap1/gpio16xx.c
index b9952a258d82..16e7fcf63edf 100644
--- a/arch/arm/mach-omap1/gpio16xx.c
+++ b/arch/arm/mach-omap1/gpio16xx.c
@@ -31,7 +31,7 @@
31#define SYSCONFIG_WORD 0x14 31#define SYSCONFIG_WORD 0x14
32 32
33/* mpu gpio */ 33/* mpu gpio */
34static struct __initdata resource omap16xx_mpu_gpio_resources[] = { 34static struct resource omap16xx_mpu_gpio_resources[] __initdata = {
35 { 35 {
36 .start = OMAP1_MPUIO_VBASE, 36 .start = OMAP1_MPUIO_VBASE,
37 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1, 37 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1,
@@ -54,7 +54,7 @@ static struct omap_gpio_reg_offs omap16xx_mpuio_regs = {
54 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE, 54 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE,
55}; 55};
56 56
57static struct __initdata omap_gpio_platform_data omap16xx_mpu_gpio_config = { 57static struct omap_gpio_platform_data omap16xx_mpu_gpio_config __initdata = {
58 .is_mpuio = true, 58 .is_mpuio = true,
59 .bank_width = 16, 59 .bank_width = 16,
60 .bank_stride = 1, 60 .bank_stride = 1,
@@ -72,7 +72,7 @@ static struct platform_device omap16xx_mpu_gpio = {
72}; 72};
73 73
74/* gpio1 */ 74/* gpio1 */
75static struct __initdata resource omap16xx_gpio1_resources[] = { 75static struct resource omap16xx_gpio1_resources[] __initdata = {
76 { 76 {
77 .start = OMAP1610_GPIO1_BASE, 77 .start = OMAP1610_GPIO1_BASE,
78 .end = OMAP1610_GPIO1_BASE + SZ_2K - 1, 78 .end = OMAP1610_GPIO1_BASE + SZ_2K - 1,
@@ -100,7 +100,7 @@ static struct omap_gpio_reg_offs omap16xx_gpio_regs = {
100 .edgectrl2 = OMAP1610_GPIO_EDGE_CTRL2, 100 .edgectrl2 = OMAP1610_GPIO_EDGE_CTRL2,
101}; 101};
102 102
103static struct __initdata omap_gpio_platform_data omap16xx_gpio1_config = { 103static struct omap_gpio_platform_data omap16xx_gpio1_config __initdata = {
104 .bank_width = 16, 104 .bank_width = 16,
105 .regs = &omap16xx_gpio_regs, 105 .regs = &omap16xx_gpio_regs,
106}; 106};
@@ -116,7 +116,7 @@ static struct platform_device omap16xx_gpio1 = {
116}; 116};
117 117
118/* gpio2 */ 118/* gpio2 */
119static struct __initdata resource omap16xx_gpio2_resources[] = { 119static struct resource omap16xx_gpio2_resources[] __initdata = {
120 { 120 {
121 .start = OMAP1610_GPIO2_BASE, 121 .start = OMAP1610_GPIO2_BASE,
122 .end = OMAP1610_GPIO2_BASE + SZ_2K - 1, 122 .end = OMAP1610_GPIO2_BASE + SZ_2K - 1,
@@ -128,7 +128,7 @@ static struct __initdata resource omap16xx_gpio2_resources[] = {
128 }, 128 },
129}; 129};
130 130
131static struct __initdata omap_gpio_platform_data omap16xx_gpio2_config = { 131static struct omap_gpio_platform_data omap16xx_gpio2_config __initdata = {
132 .bank_width = 16, 132 .bank_width = 16,
133 .regs = &omap16xx_gpio_regs, 133 .regs = &omap16xx_gpio_regs,
134}; 134};
@@ -144,7 +144,7 @@ static struct platform_device omap16xx_gpio2 = {
144}; 144};
145 145
146/* gpio3 */ 146/* gpio3 */
147static struct __initdata resource omap16xx_gpio3_resources[] = { 147static struct resource omap16xx_gpio3_resources[] __initdata = {
148 { 148 {
149 .start = OMAP1610_GPIO3_BASE, 149 .start = OMAP1610_GPIO3_BASE,
150 .end = OMAP1610_GPIO3_BASE + SZ_2K - 1, 150 .end = OMAP1610_GPIO3_BASE + SZ_2K - 1,
@@ -156,7 +156,7 @@ static struct __initdata resource omap16xx_gpio3_resources[] = {
156 }, 156 },
157}; 157};
158 158
159static struct __initdata omap_gpio_platform_data omap16xx_gpio3_config = { 159static struct omap_gpio_platform_data omap16xx_gpio3_config __initdata = {
160 .bank_width = 16, 160 .bank_width = 16,
161 .regs = &omap16xx_gpio_regs, 161 .regs = &omap16xx_gpio_regs,
162}; 162};
@@ -172,7 +172,7 @@ static struct platform_device omap16xx_gpio3 = {
172}; 172};
173 173
174/* gpio4 */ 174/* gpio4 */
175static struct __initdata resource omap16xx_gpio4_resources[] = { 175static struct resource omap16xx_gpio4_resources[] __initdata = {
176 { 176 {
177 .start = OMAP1610_GPIO4_BASE, 177 .start = OMAP1610_GPIO4_BASE,
178 .end = OMAP1610_GPIO4_BASE + SZ_2K - 1, 178 .end = OMAP1610_GPIO4_BASE + SZ_2K - 1,
@@ -184,7 +184,7 @@ static struct __initdata resource omap16xx_gpio4_resources[] = {
184 }, 184 },
185}; 185};
186 186
187static struct __initdata omap_gpio_platform_data omap16xx_gpio4_config = { 187static struct omap_gpio_platform_data omap16xx_gpio4_config __initdata = {
188 .bank_width = 16, 188 .bank_width = 16,
189 .regs = &omap16xx_gpio_regs, 189 .regs = &omap16xx_gpio_regs,
190}; 190};
@@ -199,7 +199,7 @@ static struct platform_device omap16xx_gpio4 = {
199 .resource = omap16xx_gpio4_resources, 199 .resource = omap16xx_gpio4_resources,
200}; 200};
201 201
202static struct __initdata platform_device * omap16xx_gpio_dev[] = { 202static struct platform_device *omap16xx_gpio_dev[] __initdata = {
203 &omap16xx_mpu_gpio, 203 &omap16xx_mpu_gpio,
204 &omap16xx_gpio1, 204 &omap16xx_gpio1,
205 &omap16xx_gpio2, 205 &omap16xx_gpio2,
diff --git a/arch/arm/mach-omap1/gpio7xx.c b/arch/arm/mach-omap1/gpio7xx.c
index f5819b2b7cbe..8136fdc89130 100644
--- a/arch/arm/mach-omap1/gpio7xx.c
+++ b/arch/arm/mach-omap1/gpio7xx.c
@@ -30,7 +30,7 @@
30#define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE 30#define OMAP1_MPUIO_VBASE OMAP1_MPUIO_BASE
31 31
32/* mpu gpio */ 32/* mpu gpio */
33static struct __initdata resource omap7xx_mpu_gpio_resources[] = { 33static struct resource omap7xx_mpu_gpio_resources[] __initdata = {
34 { 34 {
35 .start = OMAP1_MPUIO_VBASE, 35 .start = OMAP1_MPUIO_VBASE,
36 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1, 36 .end = OMAP1_MPUIO_VBASE + SZ_2K - 1,
@@ -53,7 +53,7 @@ static struct omap_gpio_reg_offs omap7xx_mpuio_regs = {
53 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE >> 1, 53 .irqctrl = OMAP_MPUIO_GPIO_INT_EDGE >> 1,
54}; 54};
55 55
56static struct __initdata omap_gpio_platform_data omap7xx_mpu_gpio_config = { 56static struct omap_gpio_platform_data omap7xx_mpu_gpio_config __initdata = {
57 .is_mpuio = true, 57 .is_mpuio = true,
58 .bank_width = 16, 58 .bank_width = 16,
59 .bank_stride = 2, 59 .bank_stride = 2,
@@ -71,7 +71,7 @@ static struct platform_device omap7xx_mpu_gpio = {
71}; 71};
72 72
73/* gpio1 */ 73/* gpio1 */
74static struct __initdata resource omap7xx_gpio1_resources[] = { 74static struct resource omap7xx_gpio1_resources[] __initdata = {
75 { 75 {
76 .start = OMAP7XX_GPIO1_BASE, 76 .start = OMAP7XX_GPIO1_BASE,
77 .end = OMAP7XX_GPIO1_BASE + SZ_2K - 1, 77 .end = OMAP7XX_GPIO1_BASE + SZ_2K - 1,
@@ -94,7 +94,7 @@ static struct omap_gpio_reg_offs omap7xx_gpio_regs = {
94 .irqctrl = OMAP7XX_GPIO_INT_CONTROL, 94 .irqctrl = OMAP7XX_GPIO_INT_CONTROL,
95}; 95};
96 96
97static struct __initdata omap_gpio_platform_data omap7xx_gpio1_config = { 97static struct omap_gpio_platform_data omap7xx_gpio1_config __initdata = {
98 .bank_width = 32, 98 .bank_width = 32,
99 .regs = &omap7xx_gpio_regs, 99 .regs = &omap7xx_gpio_regs,
100}; 100};
@@ -110,7 +110,7 @@ static struct platform_device omap7xx_gpio1 = {
110}; 110};
111 111
112/* gpio2 */ 112/* gpio2 */
113static struct __initdata resource omap7xx_gpio2_resources[] = { 113static struct resource omap7xx_gpio2_resources[] __initdata = {
114 { 114 {
115 .start = OMAP7XX_GPIO2_BASE, 115 .start = OMAP7XX_GPIO2_BASE,
116 .end = OMAP7XX_GPIO2_BASE + SZ_2K - 1, 116 .end = OMAP7XX_GPIO2_BASE + SZ_2K - 1,
@@ -122,7 +122,7 @@ static struct __initdata resource omap7xx_gpio2_resources[] = {
122 }, 122 },
123}; 123};
124 124
125static struct __initdata omap_gpio_platform_data omap7xx_gpio2_config = { 125static struct omap_gpio_platform_data omap7xx_gpio2_config __initdata = {
126 .bank_width = 32, 126 .bank_width = 32,
127 .regs = &omap7xx_gpio_regs, 127 .regs = &omap7xx_gpio_regs,
128}; 128};
@@ -138,7 +138,7 @@ static struct platform_device omap7xx_gpio2 = {
138}; 138};
139 139
140/* gpio3 */ 140/* gpio3 */
141static struct __initdata resource omap7xx_gpio3_resources[] = { 141static struct resource omap7xx_gpio3_resources[] __initdata = {
142 { 142 {
143 .start = OMAP7XX_GPIO3_BASE, 143 .start = OMAP7XX_GPIO3_BASE,
144 .end = OMAP7XX_GPIO3_BASE + SZ_2K - 1, 144 .end = OMAP7XX_GPIO3_BASE + SZ_2K - 1,
@@ -150,7 +150,7 @@ static struct __initdata resource omap7xx_gpio3_resources[] = {
150 }, 150 },
151}; 151};
152 152
153static struct __initdata omap_gpio_platform_data omap7xx_gpio3_config = { 153static struct omap_gpio_platform_data omap7xx_gpio3_config __initdata = {
154 .bank_width = 32, 154 .bank_width = 32,
155 .regs = &omap7xx_gpio_regs, 155 .regs = &omap7xx_gpio_regs,
156}; 156};
@@ -166,7 +166,7 @@ static struct platform_device omap7xx_gpio3 = {
166}; 166};
167 167
168/* gpio4 */ 168/* gpio4 */
169static struct __initdata resource omap7xx_gpio4_resources[] = { 169static struct resource omap7xx_gpio4_resources[] __initdata = {
170 { 170 {
171 .start = OMAP7XX_GPIO4_BASE, 171 .start = OMAP7XX_GPIO4_BASE,
172 .end = OMAP7XX_GPIO4_BASE + SZ_2K - 1, 172 .end = OMAP7XX_GPIO4_BASE + SZ_2K - 1,
@@ -178,7 +178,7 @@ static struct __initdata resource omap7xx_gpio4_resources[] = {
178 }, 178 },
179}; 179};
180 180
181static struct __initdata omap_gpio_platform_data omap7xx_gpio4_config = { 181static struct omap_gpio_platform_data omap7xx_gpio4_config __initdata = {
182 .bank_width = 32, 182 .bank_width = 32,
183 .regs = &omap7xx_gpio_regs, 183 .regs = &omap7xx_gpio_regs,
184}; 184};
@@ -194,7 +194,7 @@ static struct platform_device omap7xx_gpio4 = {
194}; 194};
195 195
196/* gpio5 */ 196/* gpio5 */
197static struct __initdata resource omap7xx_gpio5_resources[] = { 197static struct resource omap7xx_gpio5_resources[] __initdata = {
198 { 198 {
199 .start = OMAP7XX_GPIO5_BASE, 199 .start = OMAP7XX_GPIO5_BASE,
200 .end = OMAP7XX_GPIO5_BASE + SZ_2K - 1, 200 .end = OMAP7XX_GPIO5_BASE + SZ_2K - 1,
@@ -206,7 +206,7 @@ static struct __initdata resource omap7xx_gpio5_resources[] = {
206 }, 206 },
207}; 207};
208 208
209static struct __initdata omap_gpio_platform_data omap7xx_gpio5_config = { 209static struct omap_gpio_platform_data omap7xx_gpio5_config __initdata = {
210 .bank_width = 32, 210 .bank_width = 32,
211 .regs = &omap7xx_gpio_regs, 211 .regs = &omap7xx_gpio_regs,
212}; 212};
@@ -222,7 +222,7 @@ static struct platform_device omap7xx_gpio5 = {
222}; 222};
223 223
224/* gpio6 */ 224/* gpio6 */
225static struct __initdata resource omap7xx_gpio6_resources[] = { 225static struct resource omap7xx_gpio6_resources[] __initdata = {
226 { 226 {
227 .start = OMAP7XX_GPIO6_BASE, 227 .start = OMAP7XX_GPIO6_BASE,
228 .end = OMAP7XX_GPIO6_BASE + SZ_2K - 1, 228 .end = OMAP7XX_GPIO6_BASE + SZ_2K - 1,
@@ -234,7 +234,7 @@ static struct __initdata resource omap7xx_gpio6_resources[] = {
234 }, 234 },
235}; 235};
236 236
237static struct __initdata omap_gpio_platform_data omap7xx_gpio6_config = { 237static struct omap_gpio_platform_data omap7xx_gpio6_config __initdata = {
238 .bank_width = 32, 238 .bank_width = 32,
239 .regs = &omap7xx_gpio_regs, 239 .regs = &omap7xx_gpio_regs,
240}; 240};
@@ -249,7 +249,7 @@ static struct platform_device omap7xx_gpio6 = {
249 .resource = omap7xx_gpio6_resources, 249 .resource = omap7xx_gpio6_resources,
250}; 250};
251 251
252static struct __initdata platform_device * omap7xx_gpio_dev[] = { 252static struct platform_device *omap7xx_gpio_dev[] __initdata = {
253 &omap7xx_mpu_gpio, 253 &omap7xx_mpu_gpio,
254 &omap7xx_gpio1, 254 &omap7xx_gpio1,
255 &omap7xx_gpio2, 255 &omap7xx_gpio2,
diff --git a/arch/arm/mach-omap1/pm.c b/arch/arm/mach-omap1/pm.c
index 358b82cb9f78..40a1ae319610 100644
--- a/arch/arm/mach-omap1/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -628,7 +628,6 @@ static irqreturn_t omap_wakeup_interrupt(int irq, void *dev)
628 628
629static struct irqaction omap_wakeup_irq = { 629static struct irqaction omap_wakeup_irq = {
630 .name = "peripheral wakeup", 630 .name = "peripheral wakeup",
631 .flags = IRQF_DISABLED,
632 .handler = omap_wakeup_interrupt 631 .handler = omap_wakeup_interrupt
633}; 632};
634 633
diff --git a/arch/arm/mach-omap1/time.c b/arch/arm/mach-omap1/time.c
index 80603d2fef77..6b5f298d6638 100644
--- a/arch/arm/mach-omap1/time.c
+++ b/arch/arm/mach-omap1/time.c
@@ -160,7 +160,7 @@ static irqreturn_t omap_mpu_timer1_interrupt(int irq, void *dev_id)
160 160
161static struct irqaction omap_mpu_timer1_irq = { 161static struct irqaction omap_mpu_timer1_irq = {
162 .name = "mpu_timer1", 162 .name = "mpu_timer1",
163 .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, 163 .flags = IRQF_TIMER | IRQF_IRQPOLL,
164 .handler = omap_mpu_timer1_interrupt, 164 .handler = omap_mpu_timer1_interrupt,
165}; 165};
166 166
diff --git a/arch/arm/mach-omap1/timer32k.c b/arch/arm/mach-omap1/timer32k.c
index 0b74246ba62c..107e7ab3edba 100644
--- a/arch/arm/mach-omap1/timer32k.c
+++ b/arch/arm/mach-omap1/timer32k.c
@@ -156,7 +156,7 @@ static irqreturn_t omap_32k_timer_interrupt(int irq, void *dev_id)
156 156
157static struct irqaction omap_32k_timer_irq = { 157static struct irqaction omap_32k_timer_irq = {
158 .name = "32KHz timer", 158 .name = "32KHz timer",
159 .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, 159 .flags = IRQF_TIMER | IRQF_IRQPOLL,
160 .handler = omap_32k_timer_interrupt, 160 .handler = omap_32k_timer_interrupt,
161}; 161};
162 162
diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c
index 0289adcb6efb..ef32d11c4bca 100644
--- a/arch/arm/mach-omap2/id.c
+++ b/arch/arm/mach-omap2/id.c
@@ -18,6 +18,7 @@
18#include <linux/kernel.h> 18#include <linux/kernel.h>
19#include <linux/init.h> 19#include <linux/init.h>
20#include <linux/io.h> 20#include <linux/io.h>
21#include <linux/random.h>
21#include <linux/slab.h> 22#include <linux/slab.h>
22 23
23#ifdef CONFIG_SOC_BUS 24#ifdef CONFIG_SOC_BUS
@@ -130,6 +131,17 @@ void omap_get_die_id(struct omap_die_id *odi)
130 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_3); 131 odi->id_3 = read_tap_reg(OMAP_TAP_DIE_ID_3);
131} 132}
132 133
134static int __init omap_feed_randpool(void)
135{
136 struct omap_die_id odi;
137
138 /* Throw the die ID into the entropy pool at boot */
139 omap_get_die_id(&odi);
140 add_device_randomness(&odi, sizeof(odi));
141 return 0;
142}
143omap_device_initcall(omap_feed_randpool);
144
133void __init omap2xxx_check_revision(void) 145void __init omap2xxx_check_revision(void)
134{ 146{
135 int i, j; 147 int i, j;
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c
index fa74a0625da1..038d384ac228 100644
--- a/arch/arm/mach-omap2/timer.c
+++ b/arch/arm/mach-omap2/timer.c
@@ -78,7 +78,7 @@ static irqreturn_t omap2_gp_timer_interrupt(int irq, void *dev_id)
78 78
79static struct irqaction omap2_gp_timer_irq = { 79static struct irqaction omap2_gp_timer_irq = {
80 .name = "gp_timer", 80 .name = "gp_timer",
81 .flags = IRQF_DISABLED | IRQF_TIMER | IRQF_IRQPOLL, 81 .flags = IRQF_TIMER | IRQF_IRQPOLL,
82 .handler = omap2_gp_timer_interrupt, 82 .handler = omap2_gp_timer_interrupt,
83}; 83};
84 84
diff --git a/arch/arm/plat-omap/dma.c b/arch/arm/plat-omap/dma.c
index 037660633fa4..01619c2910e3 100644
--- a/arch/arm/plat-omap/dma.c
+++ b/arch/arm/plat-omap/dma.c
@@ -1965,7 +1965,6 @@ static irqreturn_t omap2_dma_irq_handler(int irq, void *dev_id)
1965static struct irqaction omap24xx_dma_irq = { 1965static struct irqaction omap24xx_dma_irq = {
1966 .name = "DMA", 1966 .name = "DMA",
1967 .handler = omap2_dma_irq_handler, 1967 .handler = omap2_dma_irq_handler,
1968 .flags = IRQF_DISABLED
1969}; 1968};
1970 1969
1971#else 1970#else