Commit d996e9dc453a5f327961f19d274c6481b3bf4f34
Committed by
Geert Uytterhoeven
1 parent
c3b92c8787
Exists in
master
and in
20 other branches
zorro: Fix four checkpatch warnings
zorro-driver.c: fix four checkpatch warnings of: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable I had a cat. The cat was mine. His name was Zorro. Amiga is fine. Signed-off-by: Jim Rotmalm <jim.rotmalm@gmail.com> Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
drivers/zorro/zorro-driver.c
... | ... | @@ -37,6 +37,7 @@ |
37 | 37 | } |
38 | 38 | return NULL; |
39 | 39 | } |
40 | +EXPORT_SYMBOL(zorro_match_device); | |
40 | 41 | |
41 | 42 | |
42 | 43 | static int zorro_device_probe(struct device *dev) |
... | ... | @@ -91,6 +92,7 @@ |
91 | 92 | /* register with core */ |
92 | 93 | return driver_register(&drv->driver); |
93 | 94 | } |
95 | +EXPORT_SYMBOL(zorro_register_driver); | |
94 | 96 | |
95 | 97 | |
96 | 98 | /** |
... | ... | @@ -107,6 +109,7 @@ |
107 | 109 | { |
108 | 110 | driver_unregister(&drv->driver); |
109 | 111 | } |
112 | +EXPORT_SYMBOL(zorro_unregister_driver); | |
110 | 113 | |
111 | 114 | |
112 | 115 | /** |
... | ... | @@ -168,6 +171,7 @@ |
168 | 171 | .probe = zorro_device_probe, |
169 | 172 | .remove = zorro_device_remove, |
170 | 173 | }; |
174 | +EXPORT_SYMBOL(zorro_bus_type); | |
171 | 175 | |
172 | 176 | |
173 | 177 | static int __init zorro_driver_init(void) |
... | ... | @@ -176,9 +180,4 @@ |
176 | 180 | } |
177 | 181 | |
178 | 182 | postcore_initcall(zorro_driver_init); |
179 | - | |
180 | -EXPORT_SYMBOL(zorro_match_device); | |
181 | -EXPORT_SYMBOL(zorro_register_driver); | |
182 | -EXPORT_SYMBOL(zorro_unregister_driver); | |
183 | -EXPORT_SYMBOL(zorro_bus_type); |