summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-24 03:12:17 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-24 03:12:17 +0000
commit74f063fc9d445f263242063e7acab1864ff75205 (patch)
treeefa4cbd32db328d11e0c9777b48094f4e75bbed1 /shared
parent36a257cfe9e45e7a2022f19100a193eb73e30d4b (diff)
Create new linux-2.6 build. Move all gpl files into the 2.6 build. If you
edit files for 2.6 be sure and break the link to the 2.4 directory and copy the cvs history.
Diffstat (limited to 'shared')
-rw-r--r--shared/radeon_drv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/radeon_drv.h b/shared/radeon_drv.h
index ec3560aa..ccb1654f 100644
--- a/shared/radeon_drv.h
+++ b/shared/radeon_drv.h
@@ -47,8 +47,8 @@ enum radeon_family {
CHIP_LAST,
};
-#if defined(__linux__)
-#include "radeon_gpl.h"
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
+#include "radeon_i2c.h"
#endif
/*
@@ -184,7 +184,7 @@ typedef struct drm_radeon_private {
/* starting from here on, data is preserved accross an open */
uint32_t flags; /* see radeon_chip_flags */
-#if defined(__linux__)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
struct radeon_i2c_chan i2c[4];
#endif
} drm_radeon_private_t;