Skip to contentSkip to conversation

drm/radeon/kms: cleanup - remove radeon_share.h

PATCH New Jerome Glisse 1 participant 1 message Sep 11, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/radeon/kms: cleanup - remove radeon_share.h

radeon_share.h was begining to give problem with include order in respect of radeon.h. It's easier and also i think cleaner to move what was in radeon_share.h into radeon.h. At the same time use the extern keyword for function shared accross the module.

---
 drivers/gpu/drm/radeon/r300.c         |    1 -
 drivers/gpu/drm/radeon/r520.c         |    1 -
 drivers/gpu/drm/radeon/r600.c         |    1 -
 drivers/gpu/drm/radeon/r600_cs.c      |    1 -
 drivers/gpu/drm/radeon/radeon.h       |   93 ++++++++++++++++++++++++---
 drivers/gpu/drm/radeon/radeon_share.h |  116 ---------------------------------
 drivers/gpu/drm/radeon/rs400.c        |    1 -
 drivers/gpu/drm/radeon/rv515.c        |    1 -
 drivers/gpu/drm/radeon/rv770.c        |    1 -
 9 files changed, 84 insertions(+), 132 deletions(-)
 delete mode 100644 drivers/gpu/drm/radeon/radeon_share.h
drivers/gpu/drm/radeon/r300.c +0 -1
index 92f9cb7..ced3322 100644
@@ -31,7 +31,6 @@
 #include "radeon_reg.h"
 #include "radeon.h"
 #include "radeon_drm.h"
-#include "radeon_share.h"
 #include "r100_track.h"
 #include "r300d.h"
 
drivers/gpu/drm/radeon/r520.c +0 -1
index ebd6b0f..0e1686d 100644
@@ -28,7 +28,6 @@
 #include "drmP.h"
 #include "radeon_reg.h"
 #include "radeon.h"
-#include "radeon_share.h"
 
 /* r520,rv530,rv560,rv570,r580 depends on : */
 void r100_hdp_reset(struct radeon_device *rdev);
drivers/gpu/drm/radeon/r600.c +0 -1
index d8fcef4..1bc2567 100644
@@ -32,7 +32,6 @@
 #include "radeon_drm.h"
 #include "radeon.h"
 #include "radeon_mode.h"
-#include "radeon_share.h"
 #include "r600d.h"
 #include "avivod.h"
 #include "atom.h"
drivers/gpu/drm/radeon/r600_cs.c +0 -1
index 39bf634..33b89cd 100644
@@ -27,7 +27,6 @@
  */
 #include "drmP.h"
 #include "radeon.h"
-#include "radeon_share.h"
 #include "r600d.h"
 #include "avivod.h"
 
drivers/gpu/drm/radeon/radeon.h +84 -9

135 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_share.h deleted +0 -116

116 lines not on this page · raw message

drivers/gpu/drm/radeon/rs400.c +0 -1
index 8c3ea7e..e1e4ce4 100644
@@ -29,7 +29,6 @@
 #include <drm/drmP.h>
 #include "radeon_reg.h"
 #include "radeon.h"
-#include "radeon_share.h"
 
 /* rs400,rs480 depends on : */
 void r100_hdp_reset(struct radeon_device *rdev);
drivers/gpu/drm/radeon/rv515.c +0 -1
index 99e397f..03d4902 100644
@@ -29,7 +29,6 @@
 #include "drmP.h"
 #include "rv515d.h"
 #include "radeon.h"
-#include "radeon_share.h"
 
 #include "rv515_reg_safe.h"
 /* rv515 depends on : */
drivers/gpu/drm/radeon/rv770.c +0 -1
index 57765f6..5ba5204 100644
@@ -29,7 +29,6 @@
 #include <linux/platform_device.h>
 #include "drmP.h"
 #include "radeon.h"
-#include "radeon_share.h"
 #include "rv770d.h"
 #include "avivod.h"
 #include "atom.h"
Signature · 1 line
1.6.4.2