summaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/devices.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-11-13 20:27:38 +0300
committerRobert Jarzmik <robert.jarzmik@free.fr>2017-11-29 00:47:22 +0300
commitcb74dc3ba2ba9390572c3b6a8f9780b00f02036e (patch)
treee754f7e020922117bb9a90947c750179de1ba152 /arch/arm/mach-pxa/devices.h
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-cb74dc3ba2ba9390572c3b6a8f9780b00f02036e.tar.xz
ARM: pxa: move declarations to proper place
Platform data is not the right place for such declarations, use devices.h in the mach-directory where the rest is located. Note that the some board files needed an additional include for this to work. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/devices.h')
-rw-r--r--arch/arm/mach-pxa/devices.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/devices.h b/arch/arm/mach-pxa/devices.h
index 905628dfbbbb..11263f7c455b 100644
--- a/arch/arm/mach-pxa/devices.h
+++ b/arch/arm/mach-pxa/devices.h
@@ -56,3 +56,12 @@ extern struct platform_device pxa93x_device_gpio;
void __init pxa_register_device(struct platform_device *dev, void *data);
void __init pxa2xx_set_dmac_info(int nb_channels, int nb_requestors);
+
+struct i2c_pxa_platform_data;
+extern void pxa_set_i2c_info(struct i2c_pxa_platform_data *info);
+#ifdef CONFIG_PXA27x
+extern void pxa27x_set_i2c_power_info(struct i2c_pxa_platform_data *info);
+#endif
+#ifdef CONFIG_PXA3xx
+extern void pxa3xx_set_i2c_power_info(struct i2c_pxa_platform_data *info);
+#endif