提交 9b5587cd 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

tokenring/3c359.c:xl_init() must be __devinit

This patch fixes the following section mismatch:

<--  snip  -->

...
  MODPOST vmlinux
WARNING: drivers/built-in.o(.text+0x361ef1): Section mismatch: reference to .init.text:xl_init (between 'xl_probe' and 'xl_hw_reset')
...

<--  snip  -->
Signed-off-by: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NJeff Garzik <jeff@garzik.org>
上级 4e50a8e3
......@@ -363,7 +363,7 @@ static int __devinit xl_probe(struct pci_dev *pdev,
}
static int __init xl_init(struct net_device *dev)
static int __devinit xl_init(struct net_device *dev)
{
struct xl_private *xl_priv = (struct xl_private *)dev->priv ;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册