diff options
author | Tony Lindgren <[email protected]> | 2015-04-23 16:56:22 -0700 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2015-05-06 15:23:03 +0200 |
commit | cac089f9026e9ddb3481daf08f0fc4e5949fa1af (patch) | |
tree | 3a184f29293e9af11263714a78717c81ae33babe /tools/perf/scripts/python/sched-migration.py | |
parent | 606f13e9efa0892561e7c471242e4ad0bcaf6ecb (diff) |
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 <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Nishanth Menon <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Acked-by: Santosh Shilimkar <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions