aboutsummaryrefslogtreecommitdiff
path: root/include/linux/gpio/machine.h
AgeCommit message (Collapse)AuthorFilesLines
2017-05-22gpiolib: Add stubs for gpiod lookup table interfaceAnatolij Gustschin1-0/+7
Add stubs for gpiod_add_lookup_table() and gpiod_remove_lookup_table() for the !GPIOLIB case to prevent build errors. Signed-off-by: Anatolij Gustschin <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2015-07-21gpiolib: Add support for removing registered consumer lookup tableShobhit Kumar1-0/+1
In case we unload and load a driver module again that is registering a lookup table, without this it will result in multiple entries. Provide an option to remove the lookup table on driver unload Cc: Samuel Ortiz <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Alexandre Courbot <[email protected]> Cc: Thierry Reding <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Ville Syrjälä <[email protected]> Signed-off-by: Shobhit Kumar <[email protected]> Acked-by: Lee Jones <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
2014-08-07gpio: add missing includes in machine.hAlexandre Courbot1-0/+3
linux/types.h and linux/list.h should be included so the typed used in the header file are always properly declared. Reported-by: Stephen Rothwell <[email protected]> Reported-by: Thierry Reding <[email protected]> Signed-off-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
2014-07-28gpio: split gpiod board registration into machine headerLinus Walleij1-0/+58
As per example from the regulator subsystem: put all defines and functions related to registering board info for GPIO descriptors into a separate <linux/gpio/machine.h> header. Cc: Andrew Victor <[email protected]> Cc: Nicolas Ferre <[email protected]> Cc: Jean-Christophe Plagniol-Villard <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Thierry Reding <[email protected]> Acked-by: Stephen Warren <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Signed-off-by: Linus Walleij <[email protected]>