Commit:     643bd27298bdcc4e75b3e6a7ca459675eb5378c3
Parent:     62933d36ac98360da45f43df989277df002b034b
Author:     Frederik Deweerdt <[EMAIL PROTECTED]>
AuthorDate: Thu May 10 11:51:08 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Thu May 10 13:34:05 2007 -0700

    Fix ixp4xx compile error
    drivers/input/misc/ixp4xx-beeper.c: In function 'ixp4xx_spkr_event':
    drivers/input/misc/ixp4xx-beeper.c:54: error: 'input_dev' undeclared (first 
use in this function)
    drivers/input/misc/ixp4xx-beeper.c:54: error: (Each undeclared identifier 
is reported only once
    drivers/input/misc/ixp4xx-beeper.c:54: error: for each function it appears 
    Signed-off-by: Frederik Deweerdt <[EMAIL PROTECTED]>
    Acked-by: Dmitry Torokhov <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/input/misc/ixp4xx-beeper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/input/misc/ixp4xx-beeper.c 
index 3d4b619..e759944 100644
--- a/drivers/input/misc/ixp4xx-beeper.c
+++ b/drivers/input/misc/ixp4xx-beeper.c
@@ -51,7 +51,7 @@ static void ixp4xx_spkr_control(unsigned int pin, unsigned 
int count)
 static int ixp4xx_spkr_event(struct input_dev *dev, unsigned int type, 
unsigned int code, int value)
-       unsigned int pin = (unsigned int) input_get_drvdata(input_dev);
+       unsigned int pin = (unsigned int) input_get_drvdata(dev);
        unsigned int count = 0;
        if (type != EV_SND)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to