* [PATCH] drivers: zorro: fix four checkpatch warnings
@ 2011-07-17 21:12 Jim Rotmalm
2011-08-13 17:58 ` Geert Uytterhoeven
0 siblings, 1 reply; 2+ messages in thread
From: Jim Rotmalm @ 2011-07-17 21:12 UTC (permalink / raw)
To: geert; +Cc: linux-m68k, linux-kernel, Jim Rotmalm
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>
---
drivers/zorro/zorro-driver.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/zorro/zorro-driver.c b/drivers/zorro/zorro-driver.c
index 7ee2b6e..229624f 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,
}
return NULL;
}
+EXPORT_SYMBOL(zorro_match_device);
static int zorro_device_probe(struct device *dev)
@@ -91,6 +92,7 @@ int zorro_register_driver(struct zorro_driver *drv)
/* register with core */
return driver_register(&drv->driver);
}
+EXPORT_SYMBOL(zorro_register_driver);
/**
@@ -107,6 +109,7 @@ void zorro_unregister_driver(struct zorro_driver *drv)
{
driver_unregister(&drv->driver);
}
+EXPORT_SYMBOL(zorro_unregister_driver);
/**
@@ -168,6 +171,7 @@ struct bus_type zorro_bus_type = {
.probe = zorro_device_probe,
.remove = zorro_device_remove,
};
+EXPORT_SYMBOL(zorro_bus_type);
static int __init zorro_driver_init(void)
@@ -177,7 +181,3 @@ static int __init zorro_driver_init(void)
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);
--
1.7.0.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] drivers: zorro: fix four checkpatch warnings
2011-07-17 21:12 [PATCH] drivers: zorro: fix four checkpatch warnings Jim Rotmalm
@ 2011-08-13 17:58 ` Geert Uytterhoeven
0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2011-08-13 17:58 UTC (permalink / raw)
To: Jim Rotmalm; +Cc: linux-m68k, linux-kernel
On Sun, Jul 17, 2011 at 23:12, Jim Rotmalm <jim.rotmalm@gmail.com> wrote:
> 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.
Thanks, applied. Will queue for 3.2.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-08-13 17:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 21:12 [PATCH] drivers: zorro: fix four checkpatch warnings Jim Rotmalm
2011-08-13 17:58 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®