]> Pileus Git - ~andy/linux/blobdiff - drivers/rtc/rtc-pcf8563.c
Merge branch 'rmobile-fixes-for-linus' of git://github.com/pmundt/linux-sh
[~andy/linux] / drivers / rtc / rtc-pcf8563.c
index 1af42b4a6f59c07146c83b4001709a921f161225..606fdfab34e2735f148910fd6578b47d896959a4 100644 (file)
@@ -18,6 +18,7 @@
 #include <linux/bcd.h>
 #include <linux/rtc.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 
 #define DRV_VERSION "0.4.3"
 
@@ -172,14 +173,6 @@ static int pcf8563_set_datetime(struct i2c_client *client, struct rtc_time *tm)
        return 0;
 }
 
-struct pcf8563_limit
-{
-       unsigned char reg;
-       unsigned char mask;
-       unsigned char min;
-       unsigned char max;
-};
-
 static int pcf8563_rtc_read_time(struct device *dev, struct rtc_time *tm)
 {
        return pcf8563_get_datetime(to_i2c_client(dev), tm);