On Sunday 21 June 2009, Nori, Sekhar wrote:
> >
> > The "rtc_" prefix is very generic, and will sometimes show up
> > in stack backtraces.  Plus, it's not clear there won't be more
> > than one RTC on a system.  (It's likely that a discrete RTC
> > that's optimized for low power could use less power than the
> > PRTSS module ... that tradeoff could matter.)
> 
> I get the backtrace part, but how does calling the isr routine just
> rtc_isr() prevent multiple RTCs on the system? The function is static so
> there should be no namespace issues..

By that logic, every RTC driver could use the same names
for all their methods ... which would be confusing in
more contexts than just stack backtraces and System.map
interpretation.

It's not a case of preventing multiple RTCs.  It's a
case of making sense of their symbols when they're all
present in the same kernel.



_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to