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. --- linux-core/radeon_i2c.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 linux-core/radeon_i2c.h (limited to 'linux-core/radeon_i2c.h') diff --git a/linux-core/radeon_i2c.h b/linux-core/radeon_i2c.h new file mode 100644 index 00000000..2adc6723 --- /dev/null +++ b/linux-core/radeon_i2c.h @@ -0,0 +1,29 @@ +/* + * linux/radeon_i2c.h + * + * Original author probably Benjamin Herrenschmidt + * or Kronos + * Based on Xfree sources + * (C) Copyright 2004 Jon Smirl + * + * This is a GPL licensed file from the Linux kernel, don't add it to the BSD build + * + * Radeon I2C support routines + * + */ + +#include +#include +#include + +struct radeon_i2c_chan { + drm_device_t *dev; + u32 ddc_reg; + struct i2c_adapter adapter; + struct i2c_algo_bit_data algo; +}; + +extern int radeon_create_i2c_busses(drm_device_t *dev); +extern void radeon_delete_i2c_busses(drm_device_t *dev); + + -- cgit v1.2.3