]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dwc_eth_qos: fix build break when CLK not enabled
authorPeng Fan <peng.fan@nxp.com>
Tue, 26 Jul 2022 08:41:13 +0000 (16:41 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 26 Jul 2022 09:29:01 +0000 (11:29 +0200)
commit00fcfa81cbf7da5397bb745f934400f3192804d7
treea382ffe87d0e00d5c122deea3934f574e7f6f106
parent09de565f76b8dded1c7a77f62eb459a2b1060891
net: dwc_eth_qos: fix build break when CLK not enabled

When CONFIG_CLK is not enabled, there will be buil break:
"error: ‘eqos’ undeclared (first use in this function)"

Take eqos definition out the CONFIG_CLK ifdef.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/net/dwc_eth_qos.c