]> git.baikalelectronics.ru Git - uboot.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)
commit085d6b42b6389d10c0ae95ab29434c0a76c79d74
treea382ffe87d0e00d5c122deea3934f574e7f6f106
parentea24d8e951990f36c25e93f6643ef9ffd727c156
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