summaryrefslogtreecommitdiff
path: root/drivers/net/ucc_geth_ethtool.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2008-05-02 22:01:23 +0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-06 20:02:08 +0400
commit6fee40e9b8155a4af904d69765c96c00f975acf5 (patch)
tree544fac66529cef4d7b907013ca90da33a277e82b /drivers/net/ucc_geth_ethtool.c
parent9b9a8bfc8dfbe09dc57f274e32e8b06151abbad7 (diff)
downloadlinux-6fee40e9b8155a4af904d69765c96c00f975acf5.tar.xz
ucc_geth: Fix a bunch of sparse warnings
ucc_geth didn't have anything marked as __iomem. It was also inconsistent with its use of in/out accessors (using them sometimes, not using them other times). Cleaning this up cuts the warnings down from hundreds to just over a dozen. Signed-off-by: Andy Fleming <afleming@freescale.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/ucc_geth_ethtool.c')
-rw-r--r--drivers/net/ucc_geth_ethtool.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ucc_geth_ethtool.c b/drivers/net/ucc_geth_ethtool.c
index 9a9622c13e2b..299b7f176950 100644
--- a/drivers/net/ucc_geth_ethtool.c
+++ b/drivers/net/ucc_geth_ethtool.c
@@ -108,12 +108,6 @@ static char rx_fw_stat_gstrings[][ETH_GSTRING_LEN] = {
#define UEC_TX_FW_STATS_LEN ARRAY_SIZE(tx_fw_stat_gstrings)
#define UEC_RX_FW_STATS_LEN ARRAY_SIZE(rx_fw_stat_gstrings)
-extern int init_flow_control_params(u32 automatic_flow_control_mode,
- int rx_flow_control_enable,
- int tx_flow_control_enable, u16 pause_period,
- u16 extension_field, volatile u32 *upsmr_register,
- volatile u32 *uempr_register, volatile u32 *maccfg1_register);
-
static int
uec_get_settings(struct net_device *netdev, struct ethtool_cmd *ecmd)
{