lkml.org 
[lkml]   [2007]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch 31/59] remove __devinit markings from rtc_sysfs_add_device()
    -stable review patch.  If anyone has any objections, please let us know.
    ------------------

    From: Mike Frysinger <vapier@gentoo.org>

    rtc_sysfs_add_device is needed even after dev initialization, so drop __devinit.

    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    Acked-by: Alessandro Zummo <a.zummo@towertech.it>
    Cc: <stable@kernel.org>
    Signed-off-by: Andrew Morton <akpm@osdl.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Chris Wright <chrisw@sous-sol.org>
    ---
    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/

    \
     
     \ /
      Last update: 2007-02-03 03:41    [W:0.020 / U:92.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site