aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2015-05-07 01:08:08 -0700
committerBryan Wu <[email protected]>2015-05-25 13:26:45 -0700
commit496e7ce2a46562938edcb74f65b26068ee8895f6 (patch)
treea3ebe67c4b84281f9b2d6f8363c06dded3b9abf4 /lib/memory-notifier-error-inject.c
parentb7da8c5c725cc2db97d1944cc34c08692aeacc85 (diff)
gpiolib: Add missing dummies for the unified device properties interface
If GPIOLIB=n: drivers/leds/leds-gpio.c: In function ‘gpio_leds_create’: drivers/leds/leds-gpio.c:187: error: implicit declaration of function ‘devm_get_gpiod_from_child’ drivers/leds/leds-gpio.c:187: warning: assignment makes pointer from integer without a cast Add dummies for fwnode_get_named_gpiod() and devm_get_gpiod_from_child() for the !GPIOLIB case to fix this. Signed-off-by: Geert Uytterhoeven <[email protected]> Fixes: 40b7318319281b1b ("gpio: Support for unified device properties interface") Acked-by: Alexandre Courbot <[email protected]> Acked-by: Linus Walleij <[email protected]> Signed-off-by: Bryan Wu <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions