aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/aty/radeonfb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/aty/radeonfb.h')
-rw-r--r--drivers/video/aty/radeonfb.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/video/aty/radeonfb.h b/drivers/video/aty/radeonfb.h
index 5eac1ce52e72..8215ca0555c2 100644
--- a/drivers/video/aty/radeonfb.h
+++ b/drivers/video/aty/radeonfb.h
@@ -1,6 +1,10 @@
1#ifndef __RADEONFB_H__ 1#ifndef __RADEONFB_H__
2#define __RADEONFB_H__ 2#define __RADEONFB_H__
3 3
4#ifdef CONFIG_FB_RADEON_DEBUG
5#define DEBUG 1
6#endif
7
4#include <linux/module.h> 8#include <linux/module.h>
5#include <linux/kernel.h> 9#include <linux/kernel.h>
6#include <linux/sched.h> 10#include <linux/sched.h>
@@ -367,13 +371,7 @@ struct radeonfb_info {
367/* 371/*
368 * Debugging stuffs 372 * Debugging stuffs
369 */ 373 */
370#ifdef CONFIG_FB_RADEON_DEBUG 374#ifdef DEBUG
371#define DEBUG 1
372#else
373#define DEBUG 0
374#endif
375
376#if DEBUG
377#define RTRACE printk 375#define RTRACE printk
378#else 376#else
379#define RTRACE if(0) printk 377#define RTRACE if(0) printk