Merge master.kernel.org:/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
[pandora-kernel.git] / arch / cris / arch-v32 / drivers / pcf8563.c
index ffc6d25..544ab01 100644 (file)
@@ -50,7 +50,7 @@ int pcf8563_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
 int pcf8563_open(struct inode *, struct file *);
 int pcf8563_release(struct inode *, struct file *);
 
-static struct file_operations pcf8563_fops = {
+static const struct file_operations pcf8563_fops = {
        owner: THIS_MODULE,
        ioctl: pcf8563_ioctl,
        open: pcf8563_open,
@@ -324,14 +324,12 @@ pcf8563_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned
 int
 pcf8563_open(struct inode *inode, struct file *filp)
 {
-       MOD_INC_USE_COUNT;
        return 0;
 }
 
 int
 pcf8563_release(struct inode *inode, struct file *filp)
 {
-       MOD_DEC_USE_COUNT;
        return 0;
 }