forked from luck/tmp_suning_uos_patched
ARM: gemini: switch to gpiochip_add_data()
We're planning to remove the gpiochip_add() function to swith to gpiochip_add_data() with NULL for data argument. Cc: arm@kernel.org Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
050c542938
commit
90b9bb81bc
|
@ -17,7 +17,7 @@
|
|||
#include <linux/init.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/irq.h>
|
||||
#include <linux/gpio.h>
|
||||
#include <linux/gpio/driver.h>
|
||||
|
||||
#include <mach/hardware.h>
|
||||
#include <mach/irqs.h>
|
||||
|
@ -227,5 +227,5 @@ void __init gemini_gpio_init(void)
|
|||
(void *)i);
|
||||
}
|
||||
|
||||
BUG_ON(gpiochip_add(&gemini_gpio_chip));
|
||||
BUG_ON(gpiochip_add_data(&gemini_gpio_chip, NULL));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user