git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
p54usb: Add device ID for Dell WLA3310 USB
[safe/jmp/linux-2.6]
/
drivers
/
rtc
/
rtc-ds1302.c
diff --git
a/drivers/rtc/rtc-ds1302.c
b/drivers/rtc/rtc-ds1302.c
index
1e73c8f
..
532acf9
100644
(file)
--- a/
drivers/rtc/rtc-ds1302.c
+++ b/
drivers/rtc/rtc-ds1302.c
@@
-143,7
+143,6
@@
static int ds1302_rtc_ioctl(struct device *dev, unsigned int cmd,
#ifdef RTC_SET_CHARGE
case RTC_SET_CHARGE:
{
- struct ds1302_rtc *rtc = dev_get_drvdata(dev);
int tcs_val;
if (copy_from_user(&tcs_val, (int __user *)arg, sizeof(int)))