summaryrefslogtreecommitdiff
path: root/linux/radeon_gpl.h
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2004-09-17 04:25:19 +0000
committerJon Smirl <jonsmirl@yahoo.com>2004-09-17 04:25:19 +0000
commitf10f8821014bc7a05e8bbc9f199e0f60b1541a0e (patch)
tree57cd6bbf8bd3d235d5558748c776c34a046e9ce8 /linux/radeon_gpl.h
parent0c6fb0fbe1fff43af60634b785cd5b7196c8dd03 (diff)
Add the two GPL licensed I2C support files.
Diffstat (limited to 'linux/radeon_gpl.h')
-rw-r--r--linux/radeon_gpl.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/linux/radeon_gpl.h b/linux/radeon_gpl.h
new file mode 100644
index 00000000..e8c479a1
--- /dev/null
+++ b/linux/radeon_gpl.h
@@ -0,0 +1,29 @@
+/*
+ * linux/radeon_gpl.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);
+
+