diff options
Diffstat (limited to 'arch/powerpc/platforms/cell/axon_msi.c')
-rw-r--r-- | arch/powerpc/platforms/cell/axon_msi.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/powerpc/platforms/cell/axon_msi.c b/arch/powerpc/platforms/cell/axon_msi.c index 96fe896f6df3..6257e5378615 100644 --- a/arch/powerpc/platforms/cell/axon_msi.c +++ b/arch/powerpc/platforms/cell/axon_msi.c | |||
@@ -15,6 +15,7 @@ | |||
15 | #include <linux/msi.h> | 15 | #include <linux/msi.h> |
16 | #include <linux/of_platform.h> | 16 | #include <linux/of_platform.h> |
17 | #include <linux/debugfs.h> | 17 | #include <linux/debugfs.h> |
18 | #include <linux/slab.h> | ||
18 | 19 | ||
19 | #include <asm/dcr.h> | 20 | #include <asm/dcr.h> |
20 | #include <asm/machdep.h> | 21 | #include <asm/machdep.h> |
@@ -344,7 +345,7 @@ static int axon_msi_shutdown(struct of_device *device) | |||
344 | static int axon_msi_probe(struct of_device *device, | 345 | static int axon_msi_probe(struct of_device *device, |
345 | const struct of_device_id *device_id) | 346 | const struct of_device_id *device_id) |
346 | { | 347 | { |
347 | struct device_node *dn = device->node; | 348 | struct device_node *dn = device->dev.of_node; |
348 | struct axon_msic *msic; | 349 | struct axon_msic *msic; |
349 | unsigned int virq; | 350 | unsigned int virq; |
350 | int dcr_base, dcr_len; | 351 | int dcr_base, dcr_len; |
@@ -446,11 +447,12 @@ static const struct of_device_id axon_msi_device_id[] = { | |||
446 | }; | 447 | }; |
447 | 448 | ||
448 | static struct of_platform_driver axon_msi_driver = { | 449 | static struct of_platform_driver axon_msi_driver = { |
449 | .match_table = axon_msi_device_id, | ||
450 | .probe = axon_msi_probe, | 450 | .probe = axon_msi_probe, |
451 | .shutdown = axon_msi_shutdown, | 451 | .shutdown = axon_msi_shutdown, |
452 | .driver = { | 452 | .driver = { |
453 | .name = "axon-msi" | 453 | .name = "axon-msi", |
454 | .owner = THIS_MODULE, | ||
455 | .of_match_table = axon_msi_device_id, | ||
454 | }, | 456 | }, |
455 | }; | 457 | }; |
456 | 458 | ||