diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2020-09-29 20:27:11 +0300 |
---|---|---|
committer | Matthias Brugger <mbrugger@suse.com> | 2020-10-02 17:32:28 +0200 |
commit | bab9be9e0de733e9c063d1b9b7284be484cd64df (patch) | |
tree | f2c69f2e753073bfa8f85d364627b9cc2e6739b6 | |
parent | 7e373a1a6ac27492ffebba146d70c4d39a9b9f36 (diff) | |
download | u-boot-bab9be9e0de733e9c063d1b9b7284be484cd64df.tar.gz |
pinctrl: bcm283x: DM_FLAG_PRE_RELOC: Remove OF_CONTROL check
Remove CONFIG_IS_ENABLED(OF_CONTROL) check from DM_FLAG_PRE_RELOC, since
this driver only supports OF_CONTROL.
drivers/pinctrl/broadcom/Kconfig:
config PINCTRL_BCM283X
depends on ARCH_BCM283X && PINCTRL_FULL && OF_CONTROL
Cc: Matthias Brugger <mbrugger@suse.com>
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
-rw-r--r-- | drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/broadcom/pinctrl-bcm283x.c b/drivers/pinctrl/broadcom/pinctrl-bcm283x.c index c22d534da9..9eaf56a390 100644 --- a/drivers/pinctrl/broadcom/pinctrl-bcm283x.c +++ b/drivers/pinctrl/broadcom/pinctrl-bcm283x.c @@ -150,7 +150,7 @@ U_BOOT_DRIVER(pinctrl_bcm283x) = { .priv_auto_alloc_size = sizeof(struct bcm283x_pinctrl_priv), .ops = &bcm283x_pinctrl_ops, .probe = bcm283x_pinctl_probe, -#if !CONFIG_IS_ENABLED(OF_CONTROL) || CONFIG_IS_ENABLED(OF_BOARD) +#if CONFIG_IS_ENABLED(OF_BOARD) .flags = DM_FLAG_PRE_RELOC, #endif }; |