Files
android_kernel_xiaomi_sm8450/include/linux/platform_data
Tony Lindgren cac089f902 gpio: omap: Allow building as a loadable module
We currently get all kinds of errors building the omap gpio driver
as a module starting with:

undefined reference to `omap2_gpio_resume_after_idle'
undefined reference to `omap2_gpio_prepare_for_idle'
...

Let's fix the issue by adding inline functions to the header.
Note that we can now also remove the two unused functions for
omap_set_gpio_debounce and omap_set_gpio_debounce_time.

Then doing rmmod on the module produces further warnings
because of missing exit related functions. Let's add those.

And finally, we can make the Kconfig entry just a tristate
option that's selected for omaps.

Cc: Javier Martinez Canillas <javier@dowhile0.org>
Cc: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@linaro.org>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2015-05-06 15:23:03 +02:00
..
2012-10-19 18:46:51 +01:00
2013-06-11 20:25:58 +01:00
2014-02-19 13:36:15 +09:00
2012-12-05 10:55:54 -08:00
2013-04-29 18:28:13 -07:00
2015-03-07 03:23:02 +01:00
2014-01-02 03:30:35 -05:00
2013-07-21 17:24:41 +02:00
2013-06-04 21:03:56 +09:00
2014-01-14 21:36:53 -08:00
2013-12-11 10:56:21 -05:00
2014-01-14 21:36:53 -08:00
2013-05-25 10:33:30 -04:00