Re: [patch] remove __devinit markings from rtc_sysfs_add_device()

From: Alessandro Zummo
Date: Sun Jan 21 2007 - 05:05:29 EST


On Sat, 20 Jan 2007 11:11:02 -0500
Mike Frysinger <vapier@xxxxxxxxxx> wrote:

> the sysfs interface from the rtc framework seems to incorrectly label the add
> function with __devinit ... the proc and dev interfaces do not have this
> label on their add functions
>
> ive been trying to develop a rtc module and it kept crashing ... after
> debugging it, i'm pretty sure ive traced it back to the devinit markings ...
> dropping this lets my module load nicely :)

thanks for spotting it!

Acked-by: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>


--

Best regards,

Alessandro Zummo,
Tower Technologies - Torino, Italy

http://www.towertech.it

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/