From 513b6e1afaf81b42cacbb24ef1aa7eea5e9661c2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 13 Sep 2005 01:25:33 -0700 Subject: [PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver Separate out the Sharp Zaurus c7x0 series specific code from the Corgi Touchscreen driver. Use the new functions in corgi_lcd.c via sharpsl.h for hsync handling and pass the IRQ as a platform device resource. Move a function prototype into the w100fb header file where it belongs. This enables the driver to be used by the Zaurus cxx00 series. Signed-Off-by: Richard Purdie Cc: Vojtech Pavlik Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/video/w100fb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/video') diff --git a/include/video/w100fb.h b/include/video/w100fb.h index e6da2d7ded8..677d4032679 100644 --- a/include/video/w100fb.h +++ b/include/video/w100fb.h @@ -19,6 +19,7 @@ struct w100fb_par; unsigned long w100fb_gpio_read(int port); void w100fb_gpio_write(int port, unsigned long value); +unsigned long w100fb_get_hsynclen(struct device *dev); /* LCD Specific Routines and Config */ struct w100_tg_info { -- cgit v1.2.3 From 82006d084109bb4118f1de0dc5855abe5ccae430 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 13 Sep 2005 01:25:49 -0700 Subject: [PATCH] drivers/video: Replace custom macro with isdigit() Replace the custom CHAR_IS_NUM() macro with isdigit() from Signed-off-by: Tobias Klauser Acked-by: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- include/video/pm3fb.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/video') diff --git a/include/video/pm3fb.h b/include/video/pm3fb.h index 8d3cef5d87a..6f4ea808cf7 100644 --- a/include/video/pm3fb.h +++ b/include/video/pm3fb.h @@ -1142,9 +1142,6 @@ /* do we want accelerated console */ #define PM3FB_USE_ACCEL 1 -/* useful ? */ -#define CHAR_IS_NUM(a) ((((a) >= '0') && ((a) <= '9')) ? 1 : 0) - /* for driver debugging ONLY */ /* 0 = assert only, 1 = error, 2 = info, 3+ = verbose */ /* define PM3FB_MASTER_DEBUG 1 */ -- cgit v1.2.3