diff options
Diffstat (limited to 'arch/arm/mach-shmobile/setup-r8a73a4.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-r8a73a4.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-shmobile/setup-r8a73a4.c b/arch/arm/mach-shmobile/setup-r8a73a4.c index 9333770cfac2..aaaaf6e8b706 100644 --- a/arch/arm/mach-shmobile/setup-r8a73a4.c +++ b/arch/arm/mach-shmobile/setup-r8a73a4.c | |||
@@ -68,7 +68,7 @@ R8A73A4_SCIFB(4, 0xe6ce0000, gic_spi(150)); /* SCIFB2 */ | |||
68 | R8A73A4_SCIFB(5, 0xe6cf0000, gic_spi(151)); /* SCIFB3 */ | 68 | R8A73A4_SCIFB(5, 0xe6cf0000, gic_spi(151)); /* SCIFB3 */ |
69 | 69 | ||
70 | #define r8a73a4_register_scif(index) \ | 70 | #define r8a73a4_register_scif(index) \ |
71 | platform_device_register_resndata(&platform_bus, "sh-sci", index, \ | 71 | platform_device_register_resndata(NULL, "sh-sci", index, \ |
72 | scif##index##_resources, \ | 72 | scif##index##_resources, \ |
73 | ARRAY_SIZE(scif##index##_resources), \ | 73 | ARRAY_SIZE(scif##index##_resources), \ |
74 | &scif##index##_platform_data, \ | 74 | &scif##index##_platform_data, \ |
@@ -149,7 +149,7 @@ static const struct resource irqc1_resources[] = { | |||
149 | }; | 149 | }; |
150 | 150 | ||
151 | #define r8a73a4_register_irqc(idx) \ | 151 | #define r8a73a4_register_irqc(idx) \ |
152 | platform_device_register_resndata(&platform_bus, "renesas_irqc", \ | 152 | platform_device_register_resndata(NULL, "renesas_irqc", \ |
153 | idx, irqc##idx##_resources, \ | 153 | idx, irqc##idx##_resources, \ |
154 | ARRAY_SIZE(irqc##idx##_resources), \ | 154 | ARRAY_SIZE(irqc##idx##_resources), \ |
155 | &irqc##idx##_data, \ | 155 | &irqc##idx##_data, \ |
@@ -179,7 +179,7 @@ static struct resource cmt1_resources[] = { | |||
179 | }; | 179 | }; |
180 | 180 | ||
181 | #define r8a7790_register_cmt(idx) \ | 181 | #define r8a7790_register_cmt(idx) \ |
182 | platform_device_register_resndata(&platform_bus, "sh-cmt-48-gen2", \ | 182 | platform_device_register_resndata(NULL, "sh-cmt-48-gen2", \ |
183 | idx, cmt##idx##_resources, \ | 183 | idx, cmt##idx##_resources, \ |
184 | ARRAY_SIZE(cmt##idx##_resources), \ | 184 | ARRAY_SIZE(cmt##idx##_resources), \ |
185 | &cmt##idx##_platform_data, \ | 185 | &cmt##idx##_platform_data, \ |
@@ -280,7 +280,7 @@ static struct resource dma_resources[] = { | |||
280 | }; | 280 | }; |
281 | 281 | ||
282 | #define r8a73a4_register_dmac() \ | 282 | #define r8a73a4_register_dmac() \ |
283 | platform_device_register_resndata(&platform_bus, "sh-dma-engine", 0, \ | 283 | platform_device_register_resndata(NULL, "sh-dma-engine", 0, \ |
284 | dma_resources, ARRAY_SIZE(dma_resources), \ | 284 | dma_resources, ARRAY_SIZE(dma_resources), \ |
285 | &dma_pdata, sizeof(dma_pdata)) | 285 | &dma_pdata, sizeof(dma_pdata)) |
286 | 286 | ||