diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-08-01 04:51:00 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2011-08-01 05:54:19 -0400 |
commit | 160a84cfc975f4aaec1cb32a48bba23ccaf43761 (patch) | |
tree | b2f7c3dc3a8791639813121a05f9c248b848d207 /arch/arm/plat-mxc | |
parent | 47ccfc340aa83e0741d9cabd7f5a3e74659a411d (diff) |
ARM: mxc: drop now unused function mxc_register_device
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc')
-rw-r--r-- | arch/arm/plat-mxc/devices.c | 14 | ||||
-rw-r--r-- | arch/arm/plat-mxc/include/mach/common.h | 1 |
2 files changed, 0 insertions, 15 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, |
diff --git a/arch/arm/plat-mxc/include/mach/common.h b/arch/arm/plat-mxc/include/mach/common.h index 4e3d97890d69..91d810cef6fa 100644 --- a/arch/arm/plat-mxc/include/mach/common.h +++ b/arch/arm/plat-mxc/include/mach/common.h | |||
@@ -66,7 +66,6 @@ extern int mx53_clocks_init(unsigned long ckil, unsigned long osc, | |||
66 | unsigned long ckih1, unsigned long ckih2); | 66 | unsigned long ckih1, unsigned long ckih2); |
67 | extern struct platform_device *mxc_register_gpio(char *name, int id, | 67 | extern struct platform_device *mxc_register_gpio(char *name, int id, |
68 | resource_size_t iobase, resource_size_t iosize, int irq, int irq_high); | 68 | resource_size_t iobase, resource_size_t iosize, int irq, int irq_high); |
69 | extern int mxc_register_device(struct platform_device *pdev, void *data); | ||
70 | extern void mxc_set_cpu_type(unsigned int type); | 69 | extern void mxc_set_cpu_type(unsigned int type); |
71 | extern void mxc_arch_reset_init(void __iomem *); | 70 | extern void mxc_arch_reset_init(void __iomem *); |
72 | extern void mx51_efikamx_reset(void); | 71 | extern void mx51_efikamx_reset(void); |