Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 94165
b: refs/heads/master
c: b0313f8
h: refs/heads/master
i:
  94163: c39f7f2
v: v3
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Apr 28, 2008
1 parent acbb7c0 commit 56bcc1e
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e7a18c9c86d14247b514157aae60326d45695476
refs/heads/master: b0313f89672eddf0188dac96bb8f83135510a45c
3 changes: 2 additions & 1 deletion trunk/drivers/video/aty/radeon_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@

#define RADEON_VERSION "0.2.0"

#include "radeonfb.h"

#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/kernel.h>
Expand Down Expand Up @@ -92,7 +94,6 @@

#include "../edid.h" // MOVE THAT TO include/video
#include "ati_ids.h"
#include "radeonfb.h"

#define MAX_MAPPED_VRAM (2048*2048*4)
#define MIN_MAPPED_VRAM (1024*768*1)
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/video/aty/radeon_i2c.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#include "radeonfb.h"

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
Expand All @@ -11,7 +13,6 @@
#include <asm/io.h>

#include <video/radeon.h>
#include "radeonfb.h"
#include "../edid.h"

static void radeon_gpio_setscl(void* data, int state)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/video/aty/radeon_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ void __devinit radeon_probe_screens(struct radeonfb_info *rinfo,

RTRACE("Starting monitor auto detection...\n");

#if DEBUG && defined(CONFIG_FB_RADEON_I2C)
#if defined(DEBUG) && defined(CONFIG_FB_RADEON_I2C)
{
u8 *EDIDs[4] = { NULL, NULL, NULL, NULL };
int mon_types[4] = {MT_NONE, MT_NONE, MT_NONE, MT_NONE};
Expand Down
12 changes: 5 additions & 7 deletions trunk/drivers/video/aty/radeonfb.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#ifndef __RADEONFB_H__
#define __RADEONFB_H__

#ifdef CONFIG_FB_RADEON_DEBUG
#define DEBUG 1
#endif

#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/sched.h>
Expand Down Expand Up @@ -367,13 +371,7 @@ struct radeonfb_info {
/*
* Debugging stuffs
*/
#ifdef CONFIG_FB_RADEON_DEBUG
#define DEBUG 1
#else
#define DEBUG 0
#endif

#if DEBUG
#ifdef DEBUG
#define RTRACE printk
#else
#define RTRACE if(0) printk
Expand Down

0 comments on commit 56bcc1e

Please sign in to comment.