diff options
Diffstat (limited to 'arch/arm/plat-mxc/devices.c')
-rw-r--r-- | arch/arm/plat-mxc/devices.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/plat-mxc/devices.c b/arch/arm/plat-mxc/devices.c index 0d6ed31bdbf2..5aaa8c5f3420 100644 --- a/arch/arm/plat-mxc/devices.c +++ b/arch/arm/plat-mxc/devices.c | |||
@@ -23,20 +23,6 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <mach/common.h> | 24 | #include <mach/common.h> |
25 | 25 | ||
26 | int __init mxc_register_device(struct platform_device *pdev, void *data) | ||
27 | { | ||
28 | int ret; | ||
29 | |||
30 | pdev->dev.platform_data = data; | ||
31 | |||
32 | ret = platform_device_register(pdev); | ||
33 | if (ret) | ||
34 | pr_debug("Unable to register platform device '%s': %d\n", | ||
35 | pdev->name, ret); | ||
36 | |||
37 | return ret; | ||
38 | } | ||
39 | |||
40 | struct platform_device *__init imx_add_platform_device_dmamask( | 26 | struct platform_device *__init imx_add_platform_device_dmamask( |
41 | const char *name, int id, | 27 | const char *name, int id, |
42 | const struct resource *res, unsigned int num_resources, | 28 | const struct resource *res, unsigned int num_resources, |