Commit d996e9dc authored by Jim Rotmalm's avatar Jim Rotmalm Committed by Geert Uytterhoeven

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: default avatarJim Rotmalm <jim.rotmalm@gmail.com>
Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
parent c3b92c87
...@@ -37,6 +37,7 @@ zorro_match_device(const struct zorro_device_id *ids, ...@@ -37,6 +37,7 @@ zorro_match_device(const struct zorro_device_id *ids,
} }
return NULL; return NULL;
} }
EXPORT_SYMBOL(zorro_match_device);
static int zorro_device_probe(struct device *dev) static int zorro_device_probe(struct device *dev)
...@@ -91,6 +92,7 @@ int zorro_register_driver(struct zorro_driver *drv) ...@@ -91,6 +92,7 @@ int zorro_register_driver(struct zorro_driver *drv)
/* register with core */ /* register with core */
return driver_register(&drv->driver); return driver_register(&drv->driver);
} }
EXPORT_SYMBOL(zorro_register_driver);
/** /**
...@@ -107,6 +109,7 @@ void zorro_unregister_driver(struct zorro_driver *drv) ...@@ -107,6 +109,7 @@ void zorro_unregister_driver(struct zorro_driver *drv)
{ {
driver_unregister(&drv->driver); driver_unregister(&drv->driver);
} }
EXPORT_SYMBOL(zorro_unregister_driver);
/** /**
...@@ -168,6 +171,7 @@ struct bus_type zorro_bus_type = { ...@@ -168,6 +171,7 @@ struct bus_type zorro_bus_type = {
.probe = zorro_device_probe, .probe = zorro_device_probe,
.remove = zorro_device_remove, .remove = zorro_device_remove,
}; };
EXPORT_SYMBOL(zorro_bus_type);
static int __init zorro_driver_init(void) static int __init zorro_driver_init(void)
...@@ -177,7 +181,3 @@ static int __init zorro_driver_init(void) ...@@ -177,7 +181,3 @@ static int __init zorro_driver_init(void)
postcore_initcall(zorro_driver_init); postcore_initcall(zorro_driver_init);
EXPORT_SYMBOL(zorro_match_device);
EXPORT_SYMBOL(zorro_register_driver);
EXPORT_SYMBOL(zorro_unregister_driver);
EXPORT_SYMBOL(zorro_bus_type);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment