diff options
author | Dave Jones <davej@redhat.com> | 2006-12-12 18:13:32 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2006-12-12 18:13:32 -0500 |
commit | f0eef25339f92f7cd4aeea23d9ae97987a5a1e82 (patch) | |
tree | 2472e94d39f43a9580a6d2d5d92de0b749023263 /drivers/char/vr41xx_giu.c | |
parent | 0cfea5dd98205f2fa318836da664a7d7df1afbc1 (diff) | |
parent | e1036502e5263851259d147771226161e5ccc85a (diff) |
Merge ../linus
Diffstat (limited to 'drivers/char/vr41xx_giu.c')
-rw-r--r-- | drivers/char/vr41xx_giu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/vr41xx_giu.c b/drivers/char/vr41xx_giu.c index 8116a47b80f4..a744dad9cf45 100644 --- a/drivers/char/vr41xx_giu.c +++ b/drivers/char/vr41xx_giu.c | |||
@@ -221,7 +221,7 @@ static struct hw_interrupt_type giuint_high_irq_type = { | |||
221 | .end = end_giuint_high_irq, | 221 | .end = end_giuint_high_irq, |
222 | }; | 222 | }; |
223 | 223 | ||
224 | static int giu_get_irq(unsigned int irq, struct pt_regs *regs) | 224 | static int giu_get_irq(unsigned int irq) |
225 | { | 225 | { |
226 | uint16_t pendl, pendh, maskl, maskh; | 226 | uint16_t pendl, pendh, maskl, maskh; |
227 | int i; | 227 | int i; |
@@ -506,7 +506,7 @@ static ssize_t gpio_read(struct file *file, char __user *buf, size_t len, | |||
506 | unsigned int pin; | 506 | unsigned int pin; |
507 | char value = '0'; | 507 | char value = '0'; |
508 | 508 | ||
509 | pin = iminor(file->f_dentry->d_inode); | 509 | pin = iminor(file->f_path.dentry->d_inode); |
510 | if (pin >= giu_nr_pins) | 510 | if (pin >= giu_nr_pins) |
511 | return -EBADF; | 511 | return -EBADF; |
512 | 512 | ||
@@ -530,7 +530,7 @@ static ssize_t gpio_write(struct file *file, const char __user *data, | |||
530 | char c; | 530 | char c; |
531 | int retval = 0; | 531 | int retval = 0; |
532 | 532 | ||
533 | pin = iminor(file->f_dentry->d_inode); | 533 | pin = iminor(file->f_path.dentry->d_inode); |
534 | if (pin >= giu_nr_pins) | 534 | if (pin >= giu_nr_pins) |
535 | return -EBADF; | 535 | return -EBADF; |
536 | 536 | ||