RE: [PATCH 1/2] clocksource/drivers/ostm: Delay driver registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, September 13, 2018, Geert Uytterhoeven wrote:
> > > I wonder they just didn't make a clock_initcall() and timer_initcall()
> > > instead.
> >
> > What happens if you place the clk_init() before board_time_init() ? in
> > arch/sh/kernel/time.c
> 
> Nothing, as Chris is using an ARM platform ;-)
> 
> The clock driver is drivers/clk/renesas/renesas-cpg-mssr.c, which is a
> platform_driver registered from subsys_initcall().

Just FYI, for the heck of it, I tried and hacked in registering the 
clock driver using CLK_OF_DECLARE since that happens before the 
TIMER_OF_DECLARE timers are probed.

But, I got this result:

[    0.000000] Driver 'renesas-cpg-mssr' was unable to register with bus_type 'platform' because the bus was not initialized.


Chris




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux