diff options
author | Sachin P. Sant <sachinp@in.ibm.com> | 2009-02-03 10:40:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@kvm.kroah.org> | 2009-02-09 14:26:18 -0500 |
commit | 6136ac86b719716694884a84cd9d403207cc52b9 (patch) | |
tree | 8070715852ccb2af3445ea22464dfdcb067a7aa8 | |
parent | d88dfb8dc4bfb66066e7c68727c219faaa541206 (diff) |
Staging: panel: fix lcd panel driver build failure
* Fix build break for lcd panel driver.
Signed-off-by : Sachin Sant <sachinp@in.ibm.com>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/staging/panel/panel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/staging/panel/panel.c b/drivers/staging/panel/panel.c index 5ffe269c2382..ab69c1bf36a8 100644 --- a/drivers/staging/panel/panel.c +++ b/drivers/staging/panel/panel.c | |||
@@ -622,7 +622,7 @@ static int set_ctrl_bits(void) | |||
622 | } | 622 | } |
623 | 623 | ||
624 | /* sets ctrl & data port bits according to current signals values */ | 624 | /* sets ctrl & data port bits according to current signals values */ |
625 | static void set_bits(void) | 625 | static void panel_set_bits(void) |
626 | { | 626 | { |
627 | set_data_bits(); | 627 | set_data_bits(); |
628 | set_ctrl_bits(); | 628 | set_ctrl_bits(); |
@@ -707,12 +707,12 @@ static void lcd_send_serial(int byte) | |||
707 | */ | 707 | */ |
708 | for (bit = 0; bit < 8; bit++) { | 708 | for (bit = 0; bit < 8; bit++) { |
709 | bits.cl = BIT_CLR; /* CLK low */ | 709 | bits.cl = BIT_CLR; /* CLK low */ |
710 | set_bits(); | 710 | panel_set_bits(); |
711 | bits.da = byte & 1; | 711 | bits.da = byte & 1; |
712 | set_bits(); | 712 | panel_set_bits(); |
713 | udelay(2); /* maintain the data during 2 us before CLK up */ | 713 | udelay(2); /* maintain the data during 2 us before CLK up */ |
714 | bits.cl = BIT_SET; /* CLK high */ | 714 | bits.cl = BIT_SET; /* CLK high */ |
715 | set_bits(); | 715 | panel_set_bits(); |
716 | udelay(1); /* maintain the strobe during 1 us */ | 716 | udelay(1); /* maintain the strobe during 1 us */ |
717 | byte >>= 1; | 717 | byte >>= 1; |
718 | } | 718 | } |
@@ -727,7 +727,7 @@ static void lcd_backlight(int on) | |||
727 | /* The backlight is activated by seting the AUTOFEED line to +5V */ | 727 | /* The backlight is activated by seting the AUTOFEED line to +5V */ |
728 | spin_lock(&pprt_lock); | 728 | spin_lock(&pprt_lock); |
729 | bits.bl = on; | 729 | bits.bl = on; |
730 | set_bits(); | 730 | panel_set_bits(); |
731 | spin_unlock(&pprt_lock); | 731 | spin_unlock(&pprt_lock); |
732 | } | 732 | } |
733 | 733 | ||