sound: oss: avoid time_t usage
authorArnd Bergmann <arnd@arndb.de>
Fri, 17 Jun 2016 14:30:03 +0000 (16:30 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 17 Jun 2016 14:31:19 +0000 (16:31 +0200)
commitcfecf1afd3a7412df810c2b98c77744f90c13e24
treeb2205a16790d9de2648d46f92504dfe8d3f927f2
parent960a581e22d93a784db843110ad1e6249c1542a5
sound: oss: avoid time_t usage

We want to remove all time_t users from the kernel because of
y2038 compatibility. This particular instance does not even
use time_t to store a seconds value, so we can simply use
'unsigned int', which seems more fitting anywhere.

The same code is used in two OSS files.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/oss/sound_timer.c
sound/oss/sys_timer.c