From: Rich Felker Date: Fri, 20 Apr 2018 21:57:13 +0000 Subject: Re: [PATCH 4/4] sh: remove board_time_init() callback Message-Id: <20180420215713.GT3094@brightrain.aerifal.cx> List-Id: References: <20180420154933.3235131-1-arnd@arndb.de> <20180420154933.3235131-4-arnd@arndb.de> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Arnd Bergmann Cc: Baolin Wang , Yoshinori Sato , Linux-sh list , Mark Brown , Jonathan Corbet , "open list:DOCUMENTATION" , Linux Kernel Mailing List On Fri, Apr 20, 2018 at 11:51:18PM +0200, Arnd Bergmann wrote: > On Fri, Apr 20, 2018 at 5:48 PM, Arnd Bergmann wrote: > > > @@ -41,8 +39,7 @@ static void __init sh_late_time_init(void) > > > > void __init time_init(void) > > { > > - if (board_time_init) > > - board_time_init(); > > + timer_init(); > > Testing revealed this to be broken, the fix is: > > diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c > index a29eb989d81b..8a1c6c8ab4ec 100644 > --- a/arch/sh/kernel/time.c > +++ b/arch/sh/kernel/time.c > @@ -39,7 +39,7 @@ static void __init sh_late_time_init(void) > > void __init time_init(void) > { > - timer_init(); > + timer_probe(); > > clk_init(); > > Let me know if you'd like me to resend the series with that typo fixed. If there are no other issues to correct, I can fix this when merging. Rich