diff options
author | David Gow <davidgow@google.com> | 2022-02-27 21:00:10 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-02-27 21:03:55 -0800 |
commit | ba115adf61b36b8c167126425a62b0efc23f72c0 (patch) | |
tree | b3e9b7d1360214c586a985c7859f271010923a9a /net/ethtool/strset.c | |
parent | 7b1f781f2d2460693f43d5f764198df558e3494b (diff) | |
download | linux-ba115adf61b36b8c167126425a62b0efc23f72c0.tar.bz2 |
Input: samsung-keypad - properly state IOMEM dependency
Make the samsung-keypad driver explicitly depend on CONFIG_HAS_IOMEM, as it
calls devm_ioremap(). This prevents compile errors in some configs (e.g,
allyesconfig/randconfig under UML):
/usr/bin/ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
samsung-keypad.c:(.text+0xc60): undefined reference to `devm_ioremap'
Signed-off-by: David Gow <davidgow@google.com>
Acked-by: anton ivanov <anton.ivanov@cambridgegreys.com>
Link: https://lore.kernel.org/r/20220225041727.1902850-1-davidgow@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'net/ethtool/strset.c')
0 files changed, 0 insertions, 0 deletions