[RESEND PATCH] Input: joystick/analog - Use get_cycles() on PPC

2018-03-14 Thread Michael Ellerman
The analog joystick driver spits a warning at us: drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. PPC has get_cycles() so use that. Signed-off-by: Michael Ellerman --- drivers/input/joystick/analog.c | 2 +- 1 file changed, 1 insert

[RESEND PATCH] input/joystick/analog: Use get_cycles() on PPC

2017-06-07 Thread Michael Ellerman
The analog joystick driver spits a warning at us: drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer not defined for this architecture. PPC has get_cycles() so use that. Signed-off-by: Michael Ellerman --- drivers/input/joystick/analog.c | 2 +- 1 file changed, 1 insert

Re: [RESEND PATCH] Input: joystick/analog - Use get_cycles() on PPC

2018-03-14 Thread Dmitry Torokhov
On Wed, Mar 14, 2018 at 10:17:52PM +1100, Michael Ellerman wrote: > The analog joystick driver spits a warning at us: > > drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer > not defined for this architecture. > > PPC has get_cycles() so use that. > > Signed-off-by: Micha

Re: [RESEND PATCH] Input: joystick/analog - Use get_cycles() on PPC

2018-03-16 Thread Michael Ellerman
Dmitry Torokhov writes: > On Wed, Mar 14, 2018 at 10:17:52PM +1100, Michael Ellerman wrote: >> The analog joystick driver spits a warning at us: >> >> drivers/input/joystick/analog.c:176:2: warning: #warning Precise timer >> not defined for this architecture. >> >> PPC has get_cycles() so us