git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
char
/
ds1286.c
diff --git
a/drivers/char/ds1286.c
b/drivers/char/ds1286.c
index
bc042fb
..
d755cac
100644
(file)
--- a/
drivers/char/ds1286.c
+++ b/
drivers/char/ds1286.c
@@
-68,7
+68,7
@@
static int ds1286_set_time(struct rtc_time *rtc_tm);
static inline unsigned char ds1286_is_updating(void);
-static
spinlock_t ds1286_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(ds1286_lock)
;
static int ds1286_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data);