diff options
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/radeon_cp.c | 5 | ||||
-rw-r--r-- | shared-core/radeon_drv.h | 7 |
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 { |