Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175789
b: refs/heads/master
c: 3b03fec
h: refs/heads/master
i:
  175787: 6a5db9f
v: v3
  • Loading branch information
Thomas Gleixner authored and Benjamin Herrenschmidt committed Nov 24, 2009
1 parent e2d0569 commit 9f1e775
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 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: 17e376756169af818c2e1c230502167cd1571a6c
refs/heads/master: 3b03fecd12c4f2a0a3ea33612606320ad23e64fe
14 changes: 7 additions & 7 deletions trunk/arch/powerpc/kernel/nvram_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ static ssize_t dev_nvram_write(struct file *file, const char __user *buf,

}

static int dev_nvram_ioctl(struct inode *inode, struct file *file,
unsigned int cmd, unsigned long arg)
static long dev_nvram_ioctl(struct file *file, unsigned int cmd,
unsigned long arg)
{
switch(cmd) {
#ifdef CONFIG_PPC_PMAC
Expand Down Expand Up @@ -169,11 +169,11 @@ static int dev_nvram_ioctl(struct inode *inode, struct file *file,
}

const struct file_operations nvram_fops = {
.owner = THIS_MODULE,
.llseek = dev_nvram_llseek,
.read = dev_nvram_read,
.write = dev_nvram_write,
.ioctl = dev_nvram_ioctl,
.owner = THIS_MODULE,
.llseek = dev_nvram_llseek,
.read = dev_nvram_read,
.write = dev_nvram_write,
.unlocked_ioctl = dev_nvram_ioctl,
};

static struct miscdevice nvram_dev = {
Expand Down

0 comments on commit 9f1e775

Please sign in to comment.