Skip to contentSkip to conversation

istallion section warnings

PATCH Applied Al Viro 1 participant 1 message Nov 22, 2008 Char and misc drivers

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 6/32 istallion section warnings

stli_findeisabrds() and stli_initbrds() are using __init and called only from __init.

---
 drivers/char/istallion.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/char/istallion.c +2 -2
@@ -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;