git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
[pandora-kernel.git]
/
arch
/
cris
/
arch-v10
/
drivers
/
pcf8563.c
diff --git
a/arch/cris/arch-v10/drivers/pcf8563.c
b/arch/cris/arch-v10/drivers/pcf8563.c
index
af517c2
..
d47cfbf
100644
(file)
--- a/
arch/cris/arch-v10/drivers/pcf8563.c
+++ b/
arch/cris/arch-v10/drivers/pcf8563.c
@@
-18,7
+18,6
@@
* $Id: pcf8563.c,v 1.11 2005/03/07 13:13:07 starvik Exp $
*/
* $Id: pcf8563.c,v 1.11 2005/03/07 13:13:07 starvik Exp $
*/
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/types.h>
@@
-57,7
+56,7
@@
static const unsigned char days_in_month[] =
int pcf8563_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
int pcf8563_ioctl(struct inode *, struct file *, unsigned int, unsigned long);
-static struct file_operations pcf8563_fops = {
+static
const
struct file_operations pcf8563_fops = {
.owner = THIS_MODULE,
.ioctl = pcf8563_ioctl,
};
.owner = THIS_MODULE,
.ioctl = pcf8563_ioctl,
};
@@
-312,7
+311,7
@@
pcf8563_register(void)
{
pcf8563_init();
if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) {
{
pcf8563_init();
if (register_chrdev(PCF8563_MAJOR, DEVICE_NAME, &pcf8563_fops) < 0) {
- printk(KERN_INFO "%s: Unable to get major numer %d for RTC device.\n",
+ printk(KERN_INFO "%s: Unable to get major num
b
er %d for RTC device.\n",
PCF8563_NAME, PCF8563_MAJOR);
return -1;
}
PCF8563_NAME, PCF8563_MAJOR);
return -1;
}