summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorJon Smirl <jonsmirl@yahoo.com>2005-06-19 04:15:58 +0000
committerJon Smirl <jonsmirl@yahoo.com>2005-06-19 04:15:58 +0000
commitae2264d3c9a4938b1202c4301587c7214c2c4293 (patch)
treed5c71115bd800fcf6985924546979a86a924b432 /shared-core
parent71df0eed3476d4430a59ce21ca641ac8eecf54e2 (diff)
Remove I2C support from radeon driver. Same support is available from
radeonfb.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/radeon_cp.c5
-rw-r--r--shared-core/radeon_drv.h7
2 files changed, 0 insertions, 12 deletions
diff --git a/shared-core/radeon_cp.c b/shared-core/radeon_cp.c
index 611385ce..f9ff830c 100644
--- a/shared-core/radeon_cp.c
+++ b/shared-core/radeon_cp.c
@@ -2061,8 +2061,6 @@ int radeon_preinit(struct drm_device *dev, unsigned long flags)
(dev_priv->mmio =
drm_core_findmap(dev, pci_resource_start(dev->pdev, 2))))
return DRM_ERR(ENOMEM);
-
- ret = radeon_create_i2c_busses(dev);
#endif
return ret;
}
@@ -2072,9 +2070,6 @@ int radeon_postcleanup(struct drm_device *dev)
drm_radeon_private_t *dev_priv = dev->dev_private;
DRM_DEBUG("\n");
-#if defined(__linux__)
- radeon_delete_i2c_busses(dev);
-#endif
drm_free(dev_priv, sizeof(*dev_priv), DRM_MEM_DRIVER);
dev->dev_private = NULL;
diff --git a/shared-core/radeon_drv.h b/shared-core/radeon_drv.h
index 3c423542..242f3cf2 100644
--- a/shared-core/radeon_drv.h
+++ b/shared-core/radeon_drv.h
@@ -31,10 +31,6 @@
#ifndef __RADEON_DRV_H__
#define __RADEON_DRV_H__
-#ifdef __linux__
-#include "radeon_i2c.h"
-#endif /* __linux__ */
-
/* General customization:
*/
@@ -268,9 +264,6 @@ typedef struct drm_radeon_private {
/* starting from here on, data is preserved accross an open */
uint32_t flags; /* see radeon_chip_flags */
-#ifdef __linux__
- struct radeon_i2c_chan i2c[4];
-#endif /* __linux__ */
} drm_radeon_private_t;
typedef struct drm_radeon_buf_priv {