From 74f063fc9d445f263242063e7acab1864ff75205 Mon Sep 17 00:00:00 2001 From: Jon Smirl Date: Fri, 24 Sep 2004 03:12:17 +0000 Subject: 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. --- shared-core/radeon_drv.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shared-core/radeon_drv.h') diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h index ec3560aa..ccb1654f 100644 --- a/shared-core/radeon_drv.h +++ b/shared-core/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; -- cgit v1.2.3