2015-07-21 8:02 GMT+09:00 Dmitry Torokhov <[email protected]>: > struct rtc embeds both struct dev and struct cdev. Unfortunately character > device structure may outlive the parent rtc structure unless we set it up > as parent of character device so that it will stay pinned until character > device is freed. > > Signed-off-by: Dmitry Torokhov <[email protected]> > --- > drivers/rtc/rtc-dev.c | 1 + > 1 file changed, 1 insertion(+)
Reviewed-by: Krzysztof Kozlowski <[email protected]> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

