summaryrefslogtreecommitdiffstats
path: root/drivers/char/istallion.c
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-11-22 18:34:14 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 19:03:36 +0100
commit6005e3eb89db99f3737c8f5fe3d97f3262ed7919 (patch)
tree60b2e69469faef6e247d15394a33421954911e62 /drivers/char/istallion.c
parentsparc64 trivial section misannotations (diff)
downloadlinux-6005e3eb89db99f3737c8f5fe3d97f3262ed7919.tar.xz
linux-6005e3eb89db99f3737c8f5fe3d97f3262ed7919.zip
istallion section warnings
stli_findeisabrds() and stli_initbrds() are using __init and called only from __init. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/char/istallion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/istallion.c b/drivers/char/istallion.c
index 44e5d60f517e..4b10770fa937 100644
--- a/drivers/char/istallion.c
+++ b/drivers/char/istallion.c
@@ -3739,7 +3739,7 @@ static int stli_getbrdnr(void)
* do is go probing around in the usual places hoping we can find it.
*/
-static int stli_findeisabrds(void)
+static int __init stli_findeisabrds(void)
{
struct stlibrd *brdp;
unsigned int iobase, eid, i;
@@ -3935,7 +3935,7 @@ static struct stlibrd *stli_allocbrd(void)
* can find.
*/
-static int stli_initbrds(void)
+static int __init stli_initbrds(void)
{
struct stlibrd *brdp, *nxtbrdp;
struct stlconf conf;