Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946242AbXBCCif (ORCPT ); Fri, 2 Feb 2007 21:38:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946255AbXBCCiM (ORCPT ); Fri, 2 Feb 2007 21:38:12 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:52934 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946258AbXBCCiA (ORCPT ); Fri, 2 Feb 2007 21:38:00 -0500 Message-Id: <20070203024236.800727000@sous-sol.org> References: <20070203023504.435051000@sous-sol.org> User-Agent: quilt/0.45-1 Date: Fri, 02 Feb 2007 18:35:35 -0800 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Mike Frysinger , Alessandro Zummo , Andrew Morton Subject: [patch 31/59] remove __devinit markings from rtc_sysfs_add_device() Content-Disposition: inline; filename=remove-__devinit-markings-from-rtc_sysfs_add_device.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1207 Lines: 35 -stable review patch. If anyone has any objections, please let us know. ------------------ From: Mike Frysinger rtc_sysfs_add_device is needed even after dev initialization, so drop __devinit. Signed-off-by: Mike Frysinger Acked-by: Alessandro Zummo Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Chris Wright --- drivers/rtc/rtc-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.19.2.orig/drivers/rtc/rtc-sysfs.c +++ linux-2.6.19.2/drivers/rtc/rtc-sysfs.c @@ -78,7 +78,7 @@ static struct attribute_group rtc_attr_g .attrs = rtc_attrs, }; -static int __devinit rtc_sysfs_add_device(struct class_device *class_dev, +static int rtc_sysfs_add_device(struct class_device *class_dev, struct class_interface *class_intf) { int err; -- - 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/