aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJim Rotmalm <jim.rotmalm@gmail.com>2011-07-17 17:12:30 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2011-10-24 15:00:34 -0400
commitd996e9dc453a5f327961f19d274c6481b3bf4f34 (patch)
tree20df2df7db2517eb06faef7adbc8b4d62507dc9b /drivers
parentc3b92c8787367a8bb53d57d9789b558f1295cc96 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/zorro/zorro-driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/zorro/zorro-driver.c b/drivers/zorro/zorro-driver.c
index 7ee2b6e71786..229624f867d3 100644
--- a/drivers/zorro/zorro-driver.c
+++ b/drivers/zorro/zorro-driver.c
@@ -37,6 +37,7 @@ zorro_match_device(const struct zorro_device_id *ids,
37 } 37 }
38 return NULL; 38 return NULL;
39} 39}
40EXPORT_SYMBOL(zorro_match_device);
40 41
41 42
42static int zorro_device_probe(struct device *dev) 43static int zorro_device_probe(struct device *dev)
@@ -91,6 +92,7 @@ int zorro_register_driver(struct zorro_driver *drv)
91 /* register with core */ 92 /* register with core */
92 return driver_register(&drv->driver); 93 return driver_register(&drv->driver);
93} 94}
95EXPORT_SYMBOL(zorro_register_driver);
94 96
95 97
96 /** 98 /**
@@ -107,6 +109,7 @@ void zorro_unregister_driver(struct zorro_driver *drv)
107{ 109{
108 driver_unregister(&drv->driver); 110 driver_unregister(&drv->driver);
109} 111}
112EXPORT_SYMBOL(zorro_unregister_driver);
110 113
111 114
112 /** 115 /**
@@ -168,6 +171,7 @@ struct bus_type zorro_bus_type = {
168 .probe = zorro_device_probe, 171 .probe = zorro_device_probe,
169 .remove = zorro_device_remove, 172 .remove = zorro_device_remove,
170}; 173};
174EXPORT_SYMBOL(zorro_bus_type);
171 175
172 176
173static int __init zorro_driver_init(void) 177static int __init zorro_driver_init(void)
@@ -177,7 +181,3 @@ static int __init zorro_driver_init(void)
177 181
178postcore_initcall(zorro_driver_init); 182postcore_initcall(zorro_driver_init);
179 183
180EXPORT_SYMBOL(zorro_match_device);
181EXPORT_SYMBOL(zorro_register_driver);
182EXPORT_SYMBOL(zorro_unregister_driver);
183EXPORT_SYMBOL(zorro_bus_type);