Input: analog - use get_cycles() on PPC
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Mar 2018 16:38:47 +0000 (09:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 14 Mar 2018 16:40:06 +0000 (09:40 -0700)
commitc9ab800167e1fc7b87a069b85b53a7eef414b4ae
tree303596dec7b08531272533a76f25b427d957b4bd
parent1c4bfce1c6045a7c5191949f6bd74662fb9bf02d
Input: analog - use get_cycles() on PPC

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 <mpe@ellerman.id.au>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/analog.c