diff options
author | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-24 03:12:17 +0000 |
---|---|---|
committer | Jon Smirl <jonsmirl@yahoo.com> | 2004-09-24 03:12:17 +0000 |
commit | 74f063fc9d445f263242063e7acab1864ff75205 (patch) | |
tree | efa4cbd32db328d11e0c9777b48094f4e75bbed1 /linux-core/radeon_i2c.h | |
parent | 36a257cfe9e45e7a2022f19100a193eb73e30d4b (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 'linux-core/radeon_i2c.h')
-rw-r--r-- | linux-core/radeon_i2c.h | 29 |
1 files changed, 29 insertions, 0 deletions
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 <benh@kernel.crashing.org> + * or Kronos <kronos@kronoz.cjb.net> + * Based on Xfree sources + * (C) Copyright 2004 Jon Smirl <jonsmirl@gmail.com> + * + * This is a GPL licensed file from the Linux kernel, don't add it to the BSD build + * + * Radeon I2C support routines + * + */ + +#include <linux/i2c.h> +#include <linux/i2c-id.h> +#include <linux/i2c-algo-bit.h> + +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); + + |