state: Fix Kconfig dependencies
State support does not need OF_BAREBOX_DRIVERS and never did, so drop
the dependency there. It's the state driver which needs of_find_path(),
since this symbol now is always enabled when OF is enabled, we don't
have to add the dependency to the state driver, but instead can depend
on OFDEVICE. We could depend on OF instead, but compiling the state
driver without OFDEVICE makes no sense.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 5e94c65 commit b61d301cf65d861cc4b57d2ff27127a6dbe59972
@Sascha Hauer Sascha Hauer authored on 26 Apr 2016
Showing 2 changed files
View
common/Kconfig
View
drivers/misc/Kconfig