提交 55265b00 编写于 作者: D David Brownell 提交者: Linus Torvalds

parport: section fixup

Fix section warning for parport_ECP_supported(); it's called from a routine
exported to modules, so it can't be removed with __devinit section pruning.
Signed-off-by: NDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 df24d9a6
...@@ -1768,7 +1768,7 @@ static int parport_PS2_supported(struct parport *pb) ...@@ -1768,7 +1768,7 @@ static int parport_PS2_supported(struct parport *pb)
} }
#ifdef CONFIG_PARPORT_PC_FIFO #ifdef CONFIG_PARPORT_PC_FIFO
static int __devinit parport_ECP_supported(struct parport *pb) static int parport_ECP_supported(struct parport *pb)
{ {
int i; int i;
int config, configb; int config, configb;
...@@ -1992,7 +1992,7 @@ static int parport_ECPEPP_supported(struct parport *pb) ...@@ -1992,7 +1992,7 @@ static int parport_ECPEPP_supported(struct parport *pb)
/* Don't bother probing for modes we know we won't use. */ /* Don't bother probing for modes we know we won't use. */
static int __devinit parport_PS2_supported(struct parport *pb) { return 0; } static int __devinit parport_PS2_supported(struct parport *pb) { return 0; }
#ifdef CONFIG_PARPORT_PC_FIFO #ifdef CONFIG_PARPORT_PC_FIFO
static int __devinit parport_ECP_supported(struct parport *pb) { return 0; } static int parport_ECP_supported(struct parport *pb) { return 0; }
#endif #endif
static int __devinit parport_EPP_supported(struct parport *pb) { return 0; } static int __devinit parport_EPP_supported(struct parport *pb) { return 0; }
static int __devinit parport_ECPEPP_supported(struct parport *pb){return 0;} static int __devinit parport_ECPEPP_supported(struct parport *pb){return 0;}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册