mirror of https://github.com/hak5/openwrt.git
pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22
SVN-Revision: 7937lede-17.01
parent
d2c338cd52
commit
b35bedf094
|
@ -14,6 +14,7 @@
|
||||||
#include <linux/mtd/map.h>
|
#include <linux/mtd/map.h>
|
||||||
#include <linux/mtd/partitions.h>
|
#include <linux/mtd/partitions.h>
|
||||||
#include <linux/autoconf.h>
|
#include <linux/autoconf.h>
|
||||||
|
#include <linux/sched.h>
|
||||||
#include <linux/squashfs_fs.h>
|
#include <linux/squashfs_fs.h>
|
||||||
|
|
||||||
static struct mtd_info *rdc3210_mtd;
|
static struct mtd_info *rdc3210_mtd;
|
||||||
|
|
|
@ -952,7 +952,7 @@ static int __init r6040_init (void)
|
||||||
printk(version);
|
printk(version);
|
||||||
printed_version = 1;
|
printed_version = 1;
|
||||||
|
|
||||||
return pci_module_init (&r6040_driver);
|
return pci_register_driver (&r6040_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue