diff options
author | Nancy Chen <Nancy.Chen@freescale.com> | 2009-09-11 14:03:41 -0500 |
---|---|---|
committer | Nancy Chen <Nancy.Chen@freescale.com> | 2009-09-14 12:09:55 -0500 |
commit | 5dfc7b9fbe7999fec5e3c0c23cdfa921352473c3 (patch) | |
tree | 63e7690a4c820d8ad4438cc7503353f26edf3e76 /drivers | |
parent | 2af97f896ed98011231ec489c95f8a13a51c5c95 (diff) |
ENGR00116131-2 Add GPIO common driver
Add GPIO common driver.
Signed-off-by: Nancy Chen <Nancy.Chen@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/mxc/ch7024.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mxc/ch7024.c b/drivers/video/mxc/ch7024.c index 71ef82ca6054..35ffb7570c2b 100644 --- a/drivers/video/mxc/ch7024.c +++ b/drivers/video/mxc/ch7024.c @@ -399,7 +399,7 @@ static int ch7024_detect(void) int en; int detect = 0; - if (mxc_get_gpio_datain(detect_gpio) == 1) { + if (gpio_get_value(detect_gpio) == 1) { set_irq_type(ch7024_client->irq, IRQF_TRIGGER_FALLING); en = ch7024_enable(); |