diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2009-01-14 23:10:55 -0800 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:28 -0500 |
commit | c95741deef31d14c3a3d58397f9a3d2126d452e5 (patch) | |
tree | 3f3bf0fea260078b0a8458c8b6a5b36a2dedaf8d /drivers/net/wireless/prism54/islpci_eth.c | |
parent | a1d88210955e56f7a0d54ac72747075b683b0850 (diff) | |
download | lwn-c95741deef31d14c3a3d58397f9a3d2126d452e5.tar.gz lwn-c95741deef31d14c3a3d58397f9a3d2126d452e5.zip |
prism54: remove private implementation of le32_add_cpu
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_eth.c')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_eth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/prism54/islpci_eth.c b/drivers/net/wireless/prism54/islpci_eth.c index e43bae97ed8f..88895bd9e495 100644 --- a/drivers/net/wireless/prism54/islpci_eth.c +++ b/drivers/net/wireless/prism54/islpci_eth.c @@ -23,6 +23,7 @@ #include <linux/netdevice.h> #include <linux/etherdevice.h> #include <linux/if_arp.h> +#include <asm/byteorder.h> #include "prismcompat.h" #include "isl_38xx.h" @@ -471,8 +472,8 @@ islpci_eth_receive(islpci_private *priv) wmb(); /* increment the driver read pointer */ - add_le32p(&control_block-> - driver_curr_frag[ISL38XX_CB_RX_DATA_LQ], 1); + le32_add_cpu(&control_block-> + driver_curr_frag[ISL38XX_CB_RX_DATA_LQ], 1); } /* trigger the device */ |