memory: omap-gpmc: Move gpio functions out of #ifdef CONFIG_OF
authorRoger Quadros <rogerq@ti.com>
Fri, 17 Jun 2016 07:16:50 +0000 (10:16 +0300)
committerRoger Quadros <rogerq@ti.com>
Fri, 17 Jun 2016 07:26:48 +0000 (10:26 +0300)
commit32dd625a9f3541ee6d390f12f810f28531d016c7
tree7ed4bfd92a16fe90d52dda6789075100988234cb
parentcaf21c61a115561553920dd6fd6f888229b7695e
memory: omap-gpmc: Move gpio functions out of #ifdef CONFIG_OF

The gpio related functions were mistakenly built only if CONFIG_OF
is defined. They are needed even otherwise and will cause build
failures if CONFIG_OF is not defined. Move the gpio functions
outside #ifdef CONFIG_OF.

Fixes: d2d00862dfbb ("memory: omap-gpmc: Support general purpose input for WAITPINs")
Signed-off-by: Roger Quadros <rogerq@ti.com>
drivers/memory/omap-gpmc.c