Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932368Ab1EHW4f (ORCPT ); Sun, 8 May 2011 18:56:35 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:49055 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932427Ab1EHWlU (ORCPT ); Sun, 8 May 2011 18:41:20 -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=OgZNbRcK3/npx0MN2hO8iNg30w6jnpacGOVp4vJ2JF7w8ExdOjV2cxsBuhxMf/W7qA QdgYnYKhSB5bf6+tn4D4OGd2HVoxuQNvAfeUC/PcDIEPq3PBDjS36ZkkhB2k4x1O0gMl CRUeLuZBQ8CoG5tjxofgiuzNfbfQxLNEIAlj0= From: Lucian Adrian Grijincu To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org, Lucian Adrian Grijincu Subject: [v2 046/115] sysctl: remove .child from pm/ (frv) Date: Mon, 9 May 2011 00:38:58 +0200 Message-Id: <1304894407-32201-47-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: 1046 Lines: 42 Signed-off-by: Lucian Adrian Grijincu --- arch/frv/kernel/pm.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) diff --git a/arch/frv/kernel/pm.c b/arch/frv/kernel/pm.c index 5fa3889..bcef945 100644 --- a/arch/frv/kernel/pm.c +++ b/arch/frv/kernel/pm.c @@ -329,13 +329,9 @@ static struct ctl_table pm_table[] = { } }; -static struct ctl_table pm_dir_table[] = +static const __initdata struct ctl_path pm_path[] = { - { - .procname = "pm", - .mode = 0555, - .child = pm_table, - }, + { .procname = "pm" }, { } }; @@ -344,7 +340,7 @@ static struct ctl_table pm_dir_table[] = */ static int __init pm_init(void) { - register_sysctl_table(pm_dir_table); + register_sysctl_paths(pm_path, pm_table); return 0; } -- 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/