diff options
Diffstat (limited to 'drivers/video/omap2/omapfb/omapfb.h')
-rw-r--r-- | drivers/video/omap2/omapfb/omapfb.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/video/omap2/omapfb/omapfb.h b/drivers/video/omap2/omapfb/omapfb.h index 1305fc9880ba..aa1b1d974276 100644 --- a/drivers/video/omap2/omapfb/omapfb.h +++ b/drivers/video/omap2/omapfb/omapfb.h | |||
@@ -29,13 +29,15 @@ | |||
29 | 29 | ||
30 | #include <linux/rwsem.h> | 30 | #include <linux/rwsem.h> |
31 | 31 | ||
32 | #include <plat/display.h> | 32 | #include <video/omapdss.h> |
33 | 33 | ||
34 | #ifdef DEBUG | 34 | #ifdef DEBUG |
35 | extern unsigned int omapfb_debug; | 35 | extern unsigned int omapfb_debug; |
36 | #define DBG(format, ...) \ | 36 | #define DBG(format, ...) \ |
37 | if (omapfb_debug) \ | 37 | do { \ |
38 | printk(KERN_DEBUG "OMAPFB: " format, ## __VA_ARGS__) | 38 | if (omapfb_debug) \ |
39 | printk(KERN_DEBUG "OMAPFB: " format, ## __VA_ARGS__); \ | ||
40 | } while (0) | ||
39 | #else | 41 | #else |
40 | #define DBG(format, ...) | 42 | #define DBG(format, ...) |
41 | #endif | 43 | #endif |