diff options
Diffstat (limited to 'arch/arm/mach-omap1/devices.c')
| -rw-r--r-- | arch/arm/mach-omap1/devices.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c index 876c38da14f7..847329cafc5c 100644 --- a/arch/arm/mach-omap1/devices.c +++ b/arch/arm/mach-omap1/devices.c | |||
| @@ -25,10 +25,6 @@ | |||
| 25 | #include <asm/arch/mux.h> | 25 | #include <asm/arch/mux.h> |
| 26 | #include <asm/arch/gpio.h> | 26 | #include <asm/arch/gpio.h> |
| 27 | 27 | ||
| 28 | extern void omap_nop_release(struct device *dev); | ||
| 29 | |||
| 30 | /*-------------------------------------------------------------------------*/ | ||
| 31 | |||
| 32 | #if defined(CONFIG_OMAP1610_IR) || defined(CONFIG_OMAP161O_IR_MODULE) | 28 | #if defined(CONFIG_OMAP1610_IR) || defined(CONFIG_OMAP161O_IR_MODULE) |
| 33 | 29 | ||
| 34 | static u64 irda_dmamask = 0xffffffff; | 30 | static u64 irda_dmamask = 0xffffffff; |
| @@ -37,7 +33,6 @@ static struct platform_device omap1610ir_device = { | |||
| 37 | .name = "omap1610-ir", | 33 | .name = "omap1610-ir", |
| 38 | .id = -1, | 34 | .id = -1, |
| 39 | .dev = { | 35 | .dev = { |
| 40 | .release = omap_nop_release, | ||
| 41 | .dma_mask = &irda_dmamask, | 36 | .dma_mask = &irda_dmamask, |
| 42 | }, | 37 | }, |
| 43 | }; | 38 | }; |
| @@ -84,9 +79,6 @@ static struct resource rtc_resources[] = { | |||
| 84 | static struct platform_device omap_rtc_device = { | 79 | static struct platform_device omap_rtc_device = { |
| 85 | .name = "omap_rtc", | 80 | .name = "omap_rtc", |
| 86 | .id = -1, | 81 | .id = -1, |
| 87 | .dev = { | ||
| 88 | .release = omap_nop_release, | ||
| 89 | }, | ||
| 90 | .num_resources = ARRAY_SIZE(rtc_resources), | 82 | .num_resources = ARRAY_SIZE(rtc_resources), |
| 91 | .resource = rtc_resources, | 83 | .resource = rtc_resources, |
| 92 | }; | 84 | }; |
| @@ -124,9 +116,6 @@ static struct resource sti_resources[] = { | |||
| 124 | static struct platform_device sti_device = { | 116 | static struct platform_device sti_device = { |
| 125 | .name = "sti", | 117 | .name = "sti", |
| 126 | .id = -1, | 118 | .id = -1, |
| 127 | .dev = { | ||
| 128 | .release = omap_nop_release, | ||
| 129 | }, | ||
| 130 | .num_resources = ARRAY_SIZE(sti_resources), | 119 | .num_resources = ARRAY_SIZE(sti_resources), |
| 131 | .resource = sti_resources, | 120 | .resource = sti_resources, |
| 132 | }; | 121 | }; |
