]> Pileus Git - ~andy/linux/blobdiff - drivers/staging/rtl8192e/r8180_93cx6.c
Merge branch 'for-linus' of git://git.open-osd.org/linux-open-osd
[~andy/linux] / drivers / staging / rtl8192e / r8180_93cx6.c
index ba4712f482a5b408e8e16b6ca2685f30f737db1c..55d4f56dc42e58c211703981069e913d107abf06 100644 (file)
@@ -82,9 +82,8 @@ static void eprom_send_bits_string(struct r8192_priv *priv, short b[], int len)
 }
 
 
-u32 eprom_read(struct net_device *dev, u32 addr)
+u32 eprom_read(struct r8192_priv *priv, u32 addr)
 {
-       struct r8192_priv *priv = ieee80211_priv(dev);
        short read_cmd[] = {1, 1, 0};
        short addr_str[8];
        int i;