1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 16:43:09 +02:00

pci_module_init() is deprecated for a long time - this won't hurt .21 and will be needed for .22

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7937 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz 2007-07-12 10:29:54 +00:00
parent d01f0cd58f
commit 8eb85e1628
2 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@
#include <linux/mtd/map.h>
#include <linux/mtd/partitions.h>
#include <linux/autoconf.h>
#include <linux/sched.h>
#include <linux/squashfs_fs.h>
static struct mtd_info *rdc3210_mtd;

View File

@ -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);
}