Commit 94da7b6b authored by Andrew Morton's avatar Andrew Morton Committed by Greg Kroah-Hartman

[PATCH] I2C: i2c-ali1563.c section fix

ali1563_shutdown() is called from __init ali1563_probe() and hence cannot be
marked __init.
parent a0f8eb34
...@@ -343,7 +343,7 @@ static int __init ali1563_setup(struct pci_dev * dev) ...@@ -343,7 +343,7 @@ static int __init ali1563_setup(struct pci_dev * dev)
return -ENODEV; return -ENODEV;
} }
static void __exit ali1563_shutdown(struct pci_dev * dev) static void ali1563_shutdown(struct pci_dev *dev)
{ {
release_region(ali1563_smba,ALI1563_SMB_IOSIZE); release_region(ali1563_smba,ALI1563_SMB_IOSIZE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment