summaryrefslogtreecommitdiff
path: root/mm/page_isolation.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2016-05-16 18:52:42 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-05-17 18:31:08 (GMT)
commit7f32541c2fdaa84af418c3e1431bbd066ab44d09 (patch)
tree2013a181bb0d1dc7f0e2df42572f70f6620258d6 /mm/page_isolation.c
parent08a6ee5807711c4dfa0726e315864a408aa6c13c (diff)
downloadlinux-7f32541c2fdaa84af418c3e1431bbd066ab44d09.tar.xz
phy dp83867: Fix compilation with CONFIG_OF_MDIO=m
When CONFIG_OF_MDIO is configured as module, the #define for it really is CONFIG_OF_MDIO_MODULE, not CONFIG_OF_MDIO. So if we are compiling it as module, the dp83867 doesn't see that OF_MDIO was selected and doesn't read the dt rgmii parameters. The fix is simple: Use IS_ENABLED(). It checks for both - module as well as compiled in code. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/page_isolation.c')
0 files changed, 0 insertions, 0 deletions