From: Imre Kaloz Date: Thu, 12 Jul 2007 10:29:54 +0000 (+0000) Subject: pci_module_init() is deprecated for a long time - this won't hurt .21 and will be... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b35bedf094b33ede048aabfc5f612596a4f98f32;p=openwrt%2Fstaging%2Fneocturne.git pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22 SVN-Revision: 7937 --- diff --git a/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c b/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c index fd16d90b7f..3bd6cf222b 100644 --- a/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c +++ b/target/linux/rdc-2.6/files/drivers/mtd/maps/rdc3210.c @@ -14,6 +14,7 @@ #include #include #include +#include #include static struct mtd_info *rdc3210_mtd; diff --git a/target/linux/rdc-2.6/files/drivers/net/r6040.c b/target/linux/rdc-2.6/files/drivers/net/r6040.c index 2398031d5f..f495b4af69 100644 --- a/target/linux/rdc-2.6/files/drivers/net/r6040.c +++ b/target/linux/rdc-2.6/files/drivers/net/r6040.c @@ -952,7 +952,7 @@ static int __init r6040_init (void) printk(version); printed_version = 1; - return pci_module_init (&r6040_driver); + return pci_register_driver (&r6040_driver); }