lkml.org 
[lkml]   [2019]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next] net: dsa: LAN9303: select REGMAP when LAN9303 enable
From
From: Mao Wenan <maowenan@huawei.com>
Date: Sat, 26 Oct 2019 10:21:39 +0800

> When NET_DSA_SMSC_LAN9303=y and NET_DSA_SMSC_LAN9303_MDIO=y,
> below errors can be seen:
> drivers/net/dsa/lan9303_mdio.c:87:23: error: REGMAP_ENDIAN_LITTLE
> undeclared here (not in a function)
> .reg_format_endian = REGMAP_ENDIAN_LITTLE,
> drivers/net/dsa/lan9303_mdio.c:93:3: error: const struct regmap_config
> has no member named reg_read
> .reg_read = lan9303_mdio_read,
>
> It should select REGMAP in config NET_DSA_SMSC_LAN9303.
>
> Fixes: dc7005831523 ("net: dsa: LAN9303: add MDIO managed mode support")
> Signed-off-by: Mao Wenan <maowenan@huawei.com>

Applied.

\
 
 \ /
  Last update: 2019-10-30 00:19    [W:0.039 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site