Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932436Ab1EHXDm (ORCPT ); Sun, 8 May 2011 19:03:42 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:45747 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932184Ab1EHWks (ORCPT ); Sun, 8 May 2011 18:40:48 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=PscjKo11A7s6VPXVcT2+dBHIvjW/LbpnBpZh0m2gELI7eAbfqvPYYWHDmMWKtPvFGK lkoZsfoNrQP9wV+PQMrrXVtM22ZA7pAM1XetfWcve914bSWL5XayAR5o7sfPYFwI2+qb CoCzXcftxEzIi129qA2f8PGaJdUJJ/s5grxMc= From: Lucian Adrian Grijincu To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org, Lucian Adrian Grijincu Subject: [v2 017/115] sysctl: remove .child from kernel/sclp (s390) Date: Mon, 9 May 2011 00:38:29 +0200 Message-Id: <1304894407-32201-18-git-send-email-lucian.grijincu@gmail.com> X-Mailer: git-send-email 1.7.5.134.g1c08b In-Reply-To: <1304894407-32201-1-git-send-email-lucian.grijincu@gmail.com> References: <1304894407-32201-1-git-send-email-lucian.grijincu@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1360 Lines: 44 Signed-off-by: Lucian Adrian Grijincu --- drivers/s390/char/sclp_async.c | 13 ++++--------- 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/s390/char/sclp_async.c b/drivers/s390/char/sclp_async.c index 7ad30e7..43f8b1e 100644 --- a/drivers/s390/char/sclp_async.c +++ b/drivers/s390/char/sclp_async.c @@ -106,14 +106,9 @@ static struct ctl_table callhome_table[] = { {} }; -static struct ctl_table kern_dir_table[] = { - { - .procname = "kernel", - .maxlen = 0, - .mode = 0555, - .child = callhome_table, - }, - {} +static const __initdata struct ctl_path kern_path[] = { + { .procname = "kernel" }, + { } }; /* @@ -175,7 +170,7 @@ static int __init sclp_async_init(void) if (!(sclp_async_register.sclp_receive_mask & EVTYP_ASYNC_MASK)) goto out_sclp; rc = -ENOMEM; - callhome_sysctl_header = register_sysctl_table(kern_dir_table); + callhome_sysctl_header = register_sysctl_paths(kern_path, callhome_table); if (!callhome_sysctl_header) goto out_sclp; request = kzalloc(sizeof(struct sclp_req), GFP_KERNEL); -- 1.7.5.134.g1c08b -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/