浏览代码

[PATCH] restore __iomem annotations in e1000

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Al Viro 18 年之前
父节点
当前提交
0c5649af3a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/net/e1000/e1000_hw.h

+ 2 - 2
drivers/net/e1000/e1000_hw.h

@@ -1367,8 +1367,8 @@ struct e1000_hw_stats {
 
 /* Structure containing variables used by the shared code (e1000_hw.c) */
 struct e1000_hw {
-    uint8_t *hw_addr;
-    uint8_t *flash_address;
+    uint8_t __iomem *hw_addr;
+    uint8_t __iomem *flash_address;
     e1000_mac_type mac_type;
     e1000_phy_type phy_type;
     uint32_t phy_init_script;