]> git.baikalelectronics.ru Git - kernel.git/commit
connector: make cn_proc explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 4 Jul 2016 21:50:58 +0000 (17:50 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 18:40:47 +0000 (11:40 -0700)
commite77278dc03352ab8cd450dde9abbe7234aef385a
tree888ae559453d203f33fd66681cecd91005a83bc1
parent9575da67055f45cfbea19f0f9d12a2364abe6d1d
connector: make cn_proc explicitly non-modular

The Kconfig controlling build of this code is currently:

drivers/connector/Kconfig:config PROC_EVENTS
drivers/connector/Kconfig:      bool "Report process events to userspace"

...meaning that it currently is not being built as a module by anyone.
Lets remove the two modular references, 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.

Cc: Evgeniy Polyakov <zbr@ioremap.net>
Cc: netdev@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_proc.c