Re: [PATCH 2/2] Allow to override the hctosys RTC using a kernel parameter

From: Alexander Holler
Date: Mon Jul 07 2014 - 09:03:15 EST


Am 07.07.2014 13:50, schrieb Roman Fietze:
Hello list members,

And here the second part.


From e523006a34db26c274d3b71de5b914f476fb029e Mon Sep 17 00:00:00 2001
From: Roman Fietze <roman.fietze@xxxxxxxxxxxxx>
Date: Fri, 4 Jul 2014 10:05:08 +0200
Subject: [PATCH 2/2] rtc: add kernel parameter hctosys, use it instead of
CONFIG_RTC_HCTOSYS_DEVICE

This change allows to overwrite the default of the hctosys RTC
specified in the kernnel configuration by using a kernel parameter in
the form of

hctosys=rtc<n>

Sorry for the confusion with my replies to the other patch. The Thunderbird on the used box got confused or confused me ("reply to list" just replied to the rtc-list and "reply to all" didn't add the the sender (Roman Fietze) to recipients. :/

Anyway, I think the whole rtcN mechanism is broken as you never can be sure which driver/RTC gets which N without testing every built kernel.

I've fixed that with the already mentioned patches here:

https://lkml.org/lkml/2014/6/13/6

Besides that, I wish you luck with your patches. ;)
--
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/