lkml.org 
[lkml]   [2010]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Gigabit Ethernet driver of Topcliff PCH
On Thu, 26 Aug 2010 18:56:55 +0900
Masayuki Ohtake <masa-korg@dsn.okisemi.com> 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

--


\
 
 \ /
  Last update: 2010-08-26 17:45    [from the cache]
©2003-2011 Jasper Spaans