Thread (3 messages) 3 messages, 2 authors, 2011-03-01

Re: [PATCH 1/6] FBDEV: JZ4740: Refactor GPIO pin operations

From: Maurus Cuelenaere <hidden>
Date: 2011-03-01 17:18:49

Op 01-03-11 14:56, Lars-Peter Clausen schreef:
On 03/01/2011 01:05 PM, Maurus Cuelenaere wrote:
quoted
Encapsulate all GPIO pins related operations into 1 function which'll make it
easier to add on SLCD support.

Signed-off-by: Maurus Cuelenaere <redacted>
---
 drivers/video/jz4740_fb.c |   82 +++++++++++++++++++++-----------------------
 1 files changed, 39 insertions(+), 43 deletions(-)
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c
index 7e61e68..65741d0 100644
--- a/drivers/video/jz4740_fb.c
+++ b/drivers/video/jz4740_fb.c
@@ -178,59 +178,60 @@ static const struct jz_gpio_bulk_request jz_lcd_data_pins[] = {
 	JZ_GPIO_BULK_PIN(LCD_DATA17),
 };
 
-static unsigned int jzfb_num_ctrl_pins(struct jzfb *jzfb)
+enum jzfb_pin_operation {
+	REQUEST_PINS,
+	FREE_PINS,
+	RESUME_PINS,
+	SUSPEND_PINS,
+};
Please add a JZFB_ prefix.
Ok.

-- 
Maurus Cuelenaere
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help