diff options
| author | Matt Ranostay <[email protected]> | 2022-10-20 15:30:00 +0000 |
|---|---|---|
| committer | Jiri Kosina <[email protected]> | 2022-10-21 11:44:05 +0000 |
| commit | 3d74c9eca1a2bda03e45f18d13154ac3e0dfba85 (patch) | |
| tree | 3a32bd88231ed80539285d2550c9e459f2f947dc /drivers/fpga/fpga-mgr.c | |
| parent | HID: mcp2221: fix 'cast to restricted __le16' sparse warnings (diff) | |
| download | kernel-3d74c9eca1a2bda03e45f18d13154ac3e0dfba85.tar.gz kernel-3d74c9eca1a2bda03e45f18d13154ac3e0dfba85.zip | |
HID: mcp2221: correct undefined references when CONFIG_GPIOLIB isn't defined
Singular #ifdef IS_REACHABLE(CONFIG_GPIOLIB) weren't covering all the
gpiolib functions that were being referenced.
Update the code regions that are commented out when CONFIG_GPIOLIB isn't
enabled to avoid errors.
Fixes: 960f9df7c620 ("HID: mcp2221: add ADC/DAC support via iio subsystem")
Signed-off-by: Matt Ranostay <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
