diff options
| author | Arnd Bergmann <[email protected]> | 2019-09-06 18:51:59 +0000 |
|---|---|---|
| committer | Mika Westerberg <[email protected]> | 2019-09-09 10:11:42 +0000 |
| commit | 55dac43747be98516a337285428806d177afaa3a (patch) | |
| tree | 35b0f61ee842b5185e4cae155b883780a32a3013 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | pinctrl: intel: remap the pin number to gpio offset for irq enabled pin (diff) | |
| download | kernel-55dac43747be98516a337285428806d177afaa3a.tar.gz kernel-55dac43747be98516a337285428806d177afaa3a.zip | |
pinctrl: intel: mark intel_pin_to_gpio __maybe_unused
The intel_pin_to_gpio() function is only called by the
PM support functions and causes a warning when those are disabled:
drivers/pinctrl/intel/pinctrl-intel.c:841:12: error: unused function 'intel_pin_to_gpio' [-Werror,-Wunused-function]
Mark it __maybe_unused to suppress the warning.
Suggested-by: Andy Shevchenko <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Chris Chiu <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
