diff options
| author | Arnd Bergmann <[email protected]> | 2016-10-28 10:19:05 +0200 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2016-10-29 10:30:16 +0200 |
| commit | 24d6a91c9df3f6b8096d2e59da31341fc35c9549 (patch) | |
| tree | 3af5127e8fc0b6305264aa71829799e30ce9aa40 /scripts | |
| parent | cd23604a4b2575c7d6786a3d6cd29d79941a5542 (diff) | |
pinctrl: max77620: add OF dependency
Drivers using pinconf_generic_params tables cannot be built with
CONFIG_OF disabled:
drivers/pinctrl/pinctrl-max77620.c:53:44: error: array type has incomplete element type ‘struct pinconf_generic_params’
drivers/pinctrl/pinctrl-max77620.c:55:3: error: field name not in record or union initializer
drivers/pinctrl/pinctrl-max77620.c:55:3: note: (near initialization for ‘max77620_cfg_params’)
drivers/pinctrl/pinctrl-max77620.c:56:3: error: field name not in record or union initializer
This adds a dependency for max77620 to disallow that configuration.
Alternatively, we could rework the pinctrl infrastructure to make the
configuration valid for compile-testing.
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Lee Jones <[email protected]>
Fixes: 453943dc8f45 ("mfd: Enable compile testing for max77620 and max77686")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions