]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/chelsio/common.h
WorkStruct: make allyesconfig
[net-next-2.6.git] / drivers / net / chelsio / common.h
index f09348802b46fb8fabe0f9535e6808c68b59bbee..8b1bedbce0d51984ceb02e002477719de954aaa0 100644 (file)
@@ -39,7 +39,6 @@
 #ifndef _CXGB_COMMON_H_
 #define _CXGB_COMMON_H_
 
-#include <linux/config.h>
 #include <linux/module.h>
 #include <linux/netdevice.h>
 #include <linux/types.h>
@@ -88,7 +87,7 @@ struct t1_rx_mode {
 
 static inline u8 *t1_get_next_mcaddr(struct t1_rx_mode *rm)
 {
-       u8 *addr = 0;
+       u8 *addr = NULL;
 
        if (rm->idx++ < rm->dev->mc_count) {
                addr = rm->list->dmi_addr;
@@ -190,7 +189,7 @@ struct sge;
 struct peespi;
 
 struct adapter {
-       u8 *regs;
+       u8 __iomem *regs;
        struct pci_dev *pdev;
        unsigned long registered_device_map;
        unsigned long open_device_map;
@@ -210,7 +209,7 @@ struct adapter {
        struct peespi *espi;
 
        struct port_info port[MAX_NPORTS];
-       struct work_struct stats_update_task;
+       struct delayed_work stats_update_task;
        struct timer_list stats_update_timer;
 
        struct semaphore mib_mutex;