diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/common/locomo.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/arch/arm/common/locomo.c b/arch/arm/common/locomo.c index 2293f0ce061e..bd36c778c819 100644 --- a/arch/arm/common/locomo.c +++ b/arch/arm/common/locomo.c | |||
@@ -865,6 +865,7 @@ void locomo_gpio_set_dir(struct device *dev, unsigned int bits, unsigned int dir | |||
865 | 865 | ||
866 | spin_unlock_irqrestore(&lchip->lock, flags); | 866 | spin_unlock_irqrestore(&lchip->lock, flags); |
867 | } | 867 | } |
868 | EXPORT_SYMBOL(locomo_gpio_set_dir); | ||
868 | 869 | ||
869 | int locomo_gpio_read_level(struct device *dev, unsigned int bits) | 870 | int locomo_gpio_read_level(struct device *dev, unsigned int bits) |
870 | { | 871 | { |
@@ -882,6 +883,7 @@ int locomo_gpio_read_level(struct device *dev, unsigned int bits) | |||
882 | ret &= bits; | 883 | ret &= bits; |
883 | return ret; | 884 | return ret; |
884 | } | 885 | } |
886 | EXPORT_SYMBOL(locomo_gpio_read_level); | ||
885 | 887 | ||
886 | int locomo_gpio_read_output(struct device *dev, unsigned int bits) | 888 | int locomo_gpio_read_output(struct device *dev, unsigned int bits) |
887 | { | 889 | { |
@@ -899,6 +901,7 @@ int locomo_gpio_read_output(struct device *dev, unsigned int bits) | |||
899 | ret &= bits; | 901 | ret &= bits; |
900 | return ret; | 902 | return ret; |
901 | } | 903 | } |
904 | EXPORT_SYMBOL(locomo_gpio_read_output); | ||
902 | 905 | ||
903 | void locomo_gpio_write(struct device *dev, unsigned int bits, unsigned int set) | 906 | void locomo_gpio_write(struct device *dev, unsigned int bits, unsigned int set) |
904 | { | 907 | { |
@@ -920,6 +923,7 @@ void locomo_gpio_write(struct device *dev, unsigned int bits, unsigned int set) | |||
920 | 923 | ||
921 | spin_unlock_irqrestore(&lchip->lock, flags); | 924 | spin_unlock_irqrestore(&lchip->lock, flags); |
922 | } | 925 | } |
926 | EXPORT_SYMBOL(locomo_gpio_write); | ||
923 | 927 | ||
924 | static void locomo_m62332_sendbit(void *mapbase, int bit) | 928 | static void locomo_m62332_sendbit(void *mapbase, int bit) |
925 | { | 929 | { |
@@ -1084,13 +1088,12 @@ void locomo_m62332_senddata(struct locomo_dev *ldev, unsigned int dac_data, int | |||
1084 | 1088 | ||
1085 | spin_unlock_irqrestore(&lchip->lock, flags); | 1089 | spin_unlock_irqrestore(&lchip->lock, flags); |
1086 | } | 1090 | } |
1091 | EXPORT_SYMBOL(locomo_m62332_senddata); | ||
1087 | 1092 | ||
1088 | /* | 1093 | /* |
1089 | * Frontlight control | 1094 | * Frontlight control |
1090 | */ | 1095 | */ |
1091 | 1096 | ||
1092 | static struct locomo *locomo_chip_driver(struct locomo_dev *ldev); | ||
1093 | |||
1094 | void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf) | 1097 | void locomo_frontlight_set(struct locomo_dev *dev, int duty, int vr, int bpwf) |
1095 | { | 1098 | { |
1096 | unsigned long flags; | 1099 | unsigned long flags; |
@@ -1182,11 +1185,13 @@ int locomo_driver_register(struct locomo_driver *driver) | |||
1182 | driver->drv.bus = &locomo_bus_type; | 1185 | driver->drv.bus = &locomo_bus_type; |
1183 | return driver_register(&driver->drv); | 1186 | return driver_register(&driver->drv); |
1184 | } | 1187 | } |
1188 | EXPORT_SYMBOL(locomo_driver_register); | ||
1185 | 1189 | ||
1186 | void locomo_driver_unregister(struct locomo_driver *driver) | 1190 | void locomo_driver_unregister(struct locomo_driver *driver) |
1187 | { | 1191 | { |
1188 | driver_unregister(&driver->drv); | 1192 | driver_unregister(&driver->drv); |
1189 | } | 1193 | } |
1194 | EXPORT_SYMBOL(locomo_driver_unregister); | ||
1190 | 1195 | ||
1191 | static int __init locomo_init(void) | 1196 | static int __init locomo_init(void) |
1192 | { | 1197 | { |
@@ -1208,11 +1213,3 @@ module_exit(locomo_exit); | |||
1208 | MODULE_DESCRIPTION("Sharp LoCoMo core driver"); | 1213 | MODULE_DESCRIPTION("Sharp LoCoMo core driver"); |
1209 | MODULE_LICENSE("GPL"); | 1214 | MODULE_LICENSE("GPL"); |
1210 | MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>"); | 1215 | MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>"); |
1211 | |||
1212 | EXPORT_SYMBOL(locomo_driver_register); | ||
1213 | EXPORT_SYMBOL(locomo_driver_unregister); | ||
1214 | EXPORT_SYMBOL(locomo_gpio_set_dir); | ||
1215 | EXPORT_SYMBOL(locomo_gpio_read_level); | ||
1216 | EXPORT_SYMBOL(locomo_gpio_read_output); | ||
1217 | EXPORT_SYMBOL(locomo_gpio_write); | ||
1218 | EXPORT_SYMBOL(locomo_m62332_senddata); | ||