atmel_lcdfb: change irq_base definition to allow error reporting
authorNicolas Ferre <[email protected]>
Wed, 12 Nov 2008 21:24:59 +0000 (13:24 -0800)
committerLinus Torvalds <[email protected]>
Thu, 13 Nov 2008 01:17:16 +0000 (17:17 -0800)
Changed because old the definition of unsigned long cannot be negative.

Signed-off-by: Nicolas Ferre <[email protected]>
Reported-by: Roel Kluin <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Cc: Andrew Victor <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/video/atmel_lcdc.h

index 6ad87f48599284c809371c533f287b748268097f..0c864db1a4662a5e1c89f902830e5cf4a7f91efc 100644 (file)
@@ -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;