Re: [PATCH] Gigabit Ethernet driver of Topcliff PCH
From: Stephen Hemminger
Date: Thu Aug 26 2010 - 11:42:29 EST
On Thu, 26 Aug 2010 18:56:55 +0900
Masayuki Ohtake <masa-korg@xxxxxxxxxxxxxxx> wrote:
> +
> +static struct ethtool_ops pch_gbe_ethtool_ops = {
> + .get_settings = pch_gbe_get_settings,
> + .set_settings = pch_gbe_set_settings,
> + .get_drvinfo = pch_gbe_get_drvinfo,
> + .get_regs_len = pch_gbe_get_regs_len,
> + .get_regs = pch_gbe_get_regs,
> + .get_wol = pch_gbe_get_wol,
> + .set_wol = pch_gbe_set_wol,
> + .nway_reset = pch_gbe_nway_reset,
> + .get_link = ethtool_op_get_link,
> + .get_ringparam = pch_gbe_get_ringparam,
> + .set_ringparam = pch_gbe_set_ringparam,
> + .get_pauseparam = pch_gbe_get_pauseparam,
> + .set_pauseparam = pch_gbe_set_pauseparam,
> + .get_rx_csum = pch_gbe_get_rx_csum,
> + .set_rx_csum = pch_gbe_set_rx_csum,
> + .get_tx_csum = pch_gbe_get_tx_csum,
> + .set_tx_csum = pch_gbe_set_tx_csum,
> + .get_strings = pch_gbe_get_strings,
> + .get_ethtool_stats = pch_gbe_get_ethtool_stats,
> + .get_sset_count = pch_gbe_get_sset_count,
> +};
> +
Should be const
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/