tmp_suning_uos_patched/arch/sh/drivers
Paul Gortmaker e75438e2a2 sh: make heartbeat driver explicitly non-modular
The Kconfig for this driver is currently:

config HEARTBEAT
        bool "Heartbeat LED"

....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 translates to device_initcall in the non-modular
case, the init ordering remains unchanged with this commit.

We explicitly disallow a driver unbind, since that doesn't have a
sensible use case anyway, and it allows us to drop the ".remove"
code for non-modular drivers.

We also delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Rich Felker <dalias@libc.org>
Cc: linux-sh@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Rich Felker <dalias@libc.org>
2016-07-31 03:33:32 +00:00
..
dma Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma 2014-08-11 07:14:01 -07:00
pci PCI: Remove unused "pci_probe" flags 2015-07-27 17:09:40 -05:00
superhyway sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
heartbeat.c sh: make heartbeat driver explicitly non-modular 2016-07-31 03:33:32 +00:00
Kconfig sh: Add SH7785 Highlander board support (R7785RP). 2007-05-07 02:10:53 +00:00
Makefile sh: SH7760 DMABRG support. 2007-05-09 17:36:15 +09:00
push-switch.c workqueue: deprecate flush[_delayed]_work_sync() 2012-08-20 14:51:24 -07:00