]> Git Repo - u-boot.git/commit
miiphy.h: Remove CONFIG_DM_xxx guards
authorTom Rini <[email protected]>
Tue, 18 Jan 2022 18:38:00 +0000 (13:38 -0500)
committerTom Rini <[email protected]>
Tue, 18 Jan 2022 18:38:00 +0000 (13:38 -0500)
commit60435ca4da823e40c4a9c7b4eda3c0b68966f9ee
tree872c41b62af1a07287b695808c6207f36f29ec53
parente559193968f213f15f1522315e5937ed52c6d444
miiphy.h: Remove CONFIG_DM_xxx guards

Function prototypes must not be guarded with ifdef tests.  Doing so
prevents us from doing:
if (CONFIG_IS_ENABLED(FOO))
  func();

as that results in a warning when CONFIG_FOO is not enabled.

Signed-off-by: Tom Rini <[email protected]>
include/miiphy.h
This page took 0.029442 seconds and 4 git commands to generate.