Skip to content

Commit

Permalink
[PATCH] radeonfb: prevent spurious recompilations
Browse files Browse the repository at this point in the history
Prevent spurious recompilations of the radeonfb driver when I2C/DDC support
is not included and i2c header files are modified.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Jean Delvare authored and Linus Torvalds committed Nov 7, 2005
1 parent 3a59026 commit e764a20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion drivers/video/aty/radeon_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
#include <linux/pci.h>
#include <linux/vmalloc.h>
#include <linux/device.h>
#include <linux/i2c.h>

#include <asm/io.h>
#include <asm/uaccess.h>
Expand Down
3 changes: 2 additions & 1 deletion drivers/video/aty/radeonfb.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
#include <linux/fb.h>


#ifdef CONFIG_FB_RADEON_I2C
#include <linux/i2c.h>
#include <linux/i2c-id.h>
#include <linux/i2c-algo-bit.h>
#endif

#include <asm/io.h>

Expand Down

0 comments on commit e764a20

Please sign in to comment.