Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 83539
b: refs/heads/master
c: 102f4a0
h: refs/heads/master
i:
  83537: ecaef3a
  83535: 457cd77
v: v3
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Feb 6, 2008
1 parent ecb4cb7 commit 80a5660
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d8af78b07976d4d84e0df491abd4e9db848d0ad
refs/heads/master: 102f4a02de5c7217a04ccbbc24f35224b98bb183
9 changes: 4 additions & 5 deletions trunk/drivers/char/ip27-rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
#include <asm/sn/sn0/hub.h>
#include <asm/sn/sn_private.h>

static int rtc_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg);
static long rtc_ioctl(struct file *filp, unsigned int cmd,
unsigned long arg);

static int rtc_read_proc(char *page, char **start, off_t off,
int count, int *eof, void *data);
Expand Down Expand Up @@ -75,8 +75,7 @@ static unsigned long epoch = 1970; /* year corresponding to 0x00 */
static const unsigned char days_in_mo[] =
{0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};

static int rtc_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
unsigned long arg)
static long rtc_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
{

struct rtc_time wtime;
Expand Down Expand Up @@ -197,7 +196,7 @@ static int rtc_release(struct inode *inode, struct file *file)

static const struct file_operations rtc_fops = {
.owner = THIS_MODULE,
.ioctl = rtc_ioctl,
.unlocked_ioctl = rtc_ioctl,
.open = rtc_open,
.release = rtc_release,
};
Expand Down

0 comments on commit 80a5660

Please sign in to comment.