[PATCH] atmel_lcdfb: Change irq_base definition to allow error reporting

From: Nicolas Ferre
Date: Thu Nov 06 2008 - 10:23:52 EST


Change irq_base definition to allow error reporting

Changed because old definition : unsigned long cannot be negative.

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
Reported-by: Roel Kluin <roel.kluin@xxxxxxxxx>
---
include/video/atmel_lcdc.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/video/atmel_lcdc.h b/include/video/atmel_lcdc.h
index 6ad87f4..0c864db 100644
--- a/include/video/atmel_lcdc.h
+++ b/include/video/atmel_lcdc.h
@@ -38,7 +38,7 @@ struct atmel_lcdfb_info {
spinlock_t lock;
struct fb_info *info;
void __iomem *mmio;
- unsigned long irq_base;
+ int irq_base;
struct work_struct task;

unsigned int guard_time;
--
1.5.3.7



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/