提交 ebf88a9e 编写于 作者: A Al Viro 提交者: Linus Torvalds

[PATCH] zatm __init abuse

zatm_init() and zatm_start() should be __devinit (the former is
not module init, despite the name - it's a helper for PCI ->probe())
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
Acked-by: NJeff Garzik <jeff@garzik.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 c537b994
...@@ -1177,7 +1177,7 @@ static void __devinit eprom_get_esi(struct atm_dev *dev) ...@@ -1177,7 +1177,7 @@ static void __devinit eprom_get_esi(struct atm_dev *dev)
/*--------------------------------- entries ---------------------------------*/ /*--------------------------------- entries ---------------------------------*/
static int __init zatm_init(struct atm_dev *dev) static int __devinit zatm_init(struct atm_dev *dev)
{ {
struct zatm_dev *zatm_dev; struct zatm_dev *zatm_dev;
struct pci_dev *pci_dev; struct pci_dev *pci_dev;
...@@ -1256,7 +1256,7 @@ static int __init zatm_init(struct atm_dev *dev) ...@@ -1256,7 +1256,7 @@ static int __init zatm_init(struct atm_dev *dev)
} }
static int __init zatm_start(struct atm_dev *dev) static int __devinit zatm_start(struct atm_dev *dev)
{ {
struct zatm_dev *zatm_dev = ZATM_DEV(dev); struct zatm_dev *zatm_dev = ZATM_DEV(dev);
struct pci_dev *pdev = zatm_dev->pci_dev; struct pci_dev *pdev = zatm_dev->pci_dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册