Staging: android: fix build error on 64bit boxes
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Jan 2009 23:42:43 +0000 (15:42 -0800)
committerGreg Kroah-Hartman <gregkh@kvm.kroah.org>
Wed, 28 Jan 2009 23:49:05 +0000 (15:49 -0800)
commit07960058f0ce77ddc3027d3e45a5de1fb977334f
tree96432748b69401b02975c85f85ffb4333a892fb6
parent2d0db6bf5010c26beb1ccbd4ee50991fd2c05d90
Staging: android: fix build error on 64bit boxes

ktime_t isn't ment to directly access on all arches, so use the proper
conversion functions instead to figure out what time is remaining.

Reported-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Arve Hjønnevåg <arve@android.com>
Cc: Mike Lockwood <lockwood@android.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/android/timed_gpio.c