From: John Jacques <[email protected]> A previous commit introduced compiler warnings, e02ac252f68dca39c8fa06c8517dd805e75aed87 with a title of 'gpio-pca953x: add "drive" property.'.
Signed-off-by: John Jacques <[email protected]> --- drivers/gpio/gpiolib-sysfs.c | 2 +- drivers/gpio/gpiolib.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/gpiolib-sysfs.c b/drivers/gpio/gpiolib-sysfs.c index 4f90f69..b2691c0 100644 --- a/drivers/gpio/gpiolib-sysfs.c +++ b/drivers/gpio/gpiolib-sysfs.c @@ -429,7 +429,7 @@ static ssize_t gpio_drive_store(struct device *dev, return status ? : size; } -static const DEVICE_ATTR(drive, 0644, +static DEVICE_ATTR(drive, 0644, gpio_drive_show, gpio_drive_store); diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 9b51f81..d54245a 100644 --- a/drivers/gpio/gpiolib.c +++ b/drivers/gpio/gpiolib.c @@ -1129,7 +1129,6 @@ EXPORT_SYMBOL_GPL(gpiod_is_active_low); int gpiod_set_drive(struct gpio_desc *desc, unsigned mode) { - unsigned long flags; struct gpio_chip *chip; chip = desc->chip; -- 1.9.1 -- _______________________________________________ linux-yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/linux-yocto
