memory: omap-gpmc: make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 17 Jun 2016 00:37:45 +0000 (20:37 -0400)
committerRoger Quadros <rogerq@ti.com>
Fri, 17 Jun 2016 07:11:54 +0000 (10:11 +0300)
commitcaf21c61a115561553920dd6fd6f888229b7695e
tree11ea543298f8d38b07d75c0542c11ca5634fe740
parent1a695a905c18548062509178b98bc91e67510864
memory: omap-gpmc: make it explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/memory/Kconfig:config OMAP_GPMC
drivers/memory/Kconfig:  bool

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init was not in use by this code, the init ordering
remains unchanged with this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

We don't replace module.h with init.h since the file already has that.

Cc: Roger Quadros <rogerq@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/memory/omap-gpmc.c