input/joystick: use get_cycles on ARM
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 Feb 2013 16:11:09 +0000 (17:11 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2013 21:38:20 +0000 (22:38 +0100)
ARM normally has an accurate clock source, so
we can theoretically use analog joysticks more
accurately and at the same time avoid the
build warning

 #warning Precise timer not defined for this architecture.

from the joystick driver.

Now, why anybody would use that driver no ARM I have no
idea, but Ben Dooks enabled it in the s3c2410_defconfig
along with a bunch of other drivers, even though that
platform has neither ISA nor PCI support. It still
seems to be the right thing to fix this quirk.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: Ben Dooks <ben-linux@fluff.org>

No differences found