1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-28 01:39:41 +02:00

ks7010: fix compile failed under linux v3.2.1

This commit is contained in:
Xiangfu Liu 2012-03-08 12:03:02 +08:00
parent b6092096d0
commit b813482c7a
2 changed files with 2 additions and 1 deletions

View File

@ -21,6 +21,7 @@
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)) #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24))
#include <linux/config.h> #include <linux/config.h>
#endif #endif
#include <linux/interrupt.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/module.h> #include <linux/module.h>

View File

@ -3095,7 +3095,7 @@ static const struct net_device_ops ks_wlan_netdev_ops = {
.ndo_set_mac_address = ks_wlan_set_mac_address, .ndo_set_mac_address = ks_wlan_set_mac_address,
.ndo_get_stats = ks_wlan_get_stats, .ndo_get_stats = ks_wlan_get_stats,
.ndo_tx_timeout = ks_wlan_tx_timeout, .ndo_tx_timeout = ks_wlan_tx_timeout,
.ndo_set_multicast_list = ks_wlan_set_multicast_list, .ndo_set_rx_mode = ks_wlan_set_multicast_list,
}; };
int ks_wlan_net_start(struct net_device *dev) int ks_wlan_net_start(struct net_device *dev)