From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751861AbcJ2Ujw (ORCPT ); Sat, 29 Oct 2016 16:39:52 -0400 Received: from mail.windriver.com ([147.11.1.11]:39551 "EHLO mail.windriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751512AbcJ2Uju (ORCPT ); Sat, 29 Oct 2016 16:39:50 -0400 From: Paul Gortmaker To: , Greg Kroah-Hartman CC: Paul Gortmaker , Martin Schwidefsky , Heiko Carstens , Michael Holzheu , Subject: [PATCH 3/3] s390: char: make slp_ctl explicitly non-modular Date: Sat, 29 Oct 2016 16:38:43 -0400 Message-ID: <20161029203843.515-4-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.10.1 In-Reply-To: <20161029203843.515-1-paul.gortmaker@windriver.com> References: <20161029203843.515-1-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Makefile currently controlling compilation of this code is obj-y, meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular usage, so that when reading the driver there is no doubt it is builtin-only. Since module_misc_device translates to device_initcall in the non-modular case, the init ordering remains unchanged with this commit. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Paul Gortmaker Cc: Michael Holzheu Cc: linux-s390@vger.kernel.org Signed-off-by: Paul Gortmaker --- drivers/s390/char/sclp_ctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s390/char/sclp_ctl.c b/drivers/s390/char/sclp_ctl.c index 554eaa1e347d..78a7e4f94721 100644 --- a/drivers/s390/char/sclp_ctl.c +++ b/drivers/s390/char/sclp_ctl.c @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include #include @@ -126,4 +126,4 @@ static struct miscdevice sclp_ctl_device = { .name = "sclp", .fops = &sclp_ctl_fops, }; -module_misc_device(sclp_ctl_device); +builtin_misc_device(sclp_ctl_device); -- 2.10.1