aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2016-07-04 17:50:58 -0400
committerDavid S. Miller <davem@davemloft.net>2016-07-05 14:40:47 -0400
commit8297f2d9ef6c2c31c87807f2f110ddfd0c379443 (patch)
tree888ae559453d203f33fd66681cecd91005a83bc1
parent96329a181bfbbac573ce988d7439369c5ade9249 (diff)
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>
-rw-r--r--drivers/connector/cn_proc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/connector/cn_proc.c b/drivers/connector/cn_proc.c
index b02f9c606e0b..a782ce87715c 100644
--- a/drivers/connector/cn_proc.c
+++ b/drivers/connector/cn_proc.c
@@ -22,7 +22,6 @@
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 */ 23 */
24 24
25#include <linux/module.h>
26#include <linux/kernel.h> 25#include <linux/kernel.h>
27#include <linux/ktime.h> 26#include <linux/ktime.h>
28#include <linux/init.h> 27#include <linux/init.h>
@@ -390,5 +389,4 @@ static int __init cn_proc_init(void)
390 } 389 }
391 return 0; 390 return 0;
392} 391}
393 392device_initcall(cn_proc_init);
394module_init(cn_proc_init);