diff options
author | Steven King <sfking@fdwdc.com> | 2014-05-21 19:00:32 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2014-05-25 23:28:38 -0400 |
commit | ec9f8483547fa354a5747d8954cd0b91225a0b2d (patch) | |
tree | 78cc93d709851754adb218745db3ab2a55996c9d /arch/m68k | |
parent | ffca5af954c202d47ef00ac46b90493eaa7fcde5 (diff) |
m68knommu: Make everything thats not exported, static.
Singed-off-by: Steven King <sfking@fdwdc.com>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/platform/coldfire/gpio.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/m68k/platform/coldfire/gpio.c b/arch/m68k/platform/coldfire/gpio.c index e16888629285..e7e428681ec5 100644 --- a/arch/m68k/platform/coldfire/gpio.c +++ b/arch/m68k/platform/coldfire/gpio.c | |||
@@ -114,37 +114,39 @@ EXPORT_SYMBOL(__mcfgpio_free); | |||
114 | 114 | ||
115 | #ifdef CONFIG_GPIOLIB | 115 | #ifdef CONFIG_GPIOLIB |
116 | 116 | ||
117 | int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) | 117 | static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) |
118 | { | 118 | { |
119 | return __mcfgpio_direction_input(offset); | 119 | return __mcfgpio_direction_input(offset); |
120 | } | 120 | } |
121 | 121 | ||
122 | int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) | 122 | static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) |
123 | { | 123 | { |
124 | return __mcfgpio_get_value(offset); | 124 | return __mcfgpio_get_value(offset); |
125 | } | 125 | } |
126 | 126 | ||
127 | int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, int value) | 127 | static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, |
128 | int value) | ||
128 | { | 129 | { |
129 | return __mcfgpio_direction_output(offset, value); | 130 | return __mcfgpio_direction_output(offset, value); |
130 | } | 131 | } |
131 | 132 | ||
132 | void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, int value) | 133 | static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, |
134 | int value) | ||
133 | { | 135 | { |
134 | __mcfgpio_set_value(offset, value); | 136 | __mcfgpio_set_value(offset, value); |
135 | } | 137 | } |
136 | 138 | ||
137 | int mcfgpio_request(struct gpio_chip *chip, unsigned offset) | 139 | static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) |
138 | { | 140 | { |
139 | return __mcfgpio_request(offset); | 141 | return __mcfgpio_request(offset); |
140 | } | 142 | } |
141 | 143 | ||
142 | void mcfgpio_free(struct gpio_chip *chip, unsigned offset) | 144 | static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) |
143 | { | 145 | { |
144 | __mcfgpio_free(offset); | 146 | __mcfgpio_free(offset); |
145 | } | 147 | } |
146 | 148 | ||
147 | int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) | 149 | static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) |
148 | { | 150 | { |
149 | #if defined(MCFGPIO_IRQ_MIN) | 151 | #if defined(MCFGPIO_IRQ_MIN) |
150 | if ((offset >= MCFGPIO_IRQ_MIN) && (offset < MCFGPIO_IRQ_MAX)) | 152 | if ((offset >= MCFGPIO_IRQ_MIN) && (offset < MCFGPIO_IRQ_MAX)) |
@@ -156,7 +158,7 @@ int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) | |||
156 | return -EINVAL; | 158 | return -EINVAL; |
157 | } | 159 | } |
158 | 160 | ||
159 | struct bus_type mcfgpio_subsys = { | 161 | static struct bus_type mcfgpio_subsys = { |
160 | .name = "gpio", | 162 | .name = "gpio", |
161 | .dev_name = "gpio", | 163 | .dev_name = "gpio", |
162 | }; | 164 | }; |