gma500: move opregion files
authorAlan Cox <alan@linux.intel.com>
Tue, 5 Jul 2011 14:42:36 +0000 (15:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 5 Jul 2011 15:20:43 +0000 (08:20 -0700)
We've now sorted them out so they can go into the generic code. In actual
fact only the non MID devices use the functions but they are small and
having the name match i915 is going to help any future merging type work.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/gma500/Makefile
drivers/staging/gma500/intel_opregion.c [moved from drivers/staging/gma500/psb_intel_opregion.c with 99% similarity]

index 7f76a19..c014373 100644 (file)
@@ -10,9 +10,9 @@ psb_gfx-y += gem_glue.o \
          gem.o \
          gtt.o \
          intel_bios.o \
+         intel_opregion.o \
          power.o \
          psb_drv.o \
-         psb_intel_opregion.o \
          psb_intel_display.o \
          psb_intel_i2c.o \
          psb_intel_lvds.o \
similarity index 99%
rename from drivers/staging/gma500/psb_intel_opregion.c
rename to drivers/staging/gma500/intel_opregion.c
index a586f3d..8240965 100644 (file)
@@ -78,4 +78,3 @@ int intel_opregion_exit(struct drm_device *dev)
                iounmap(dev_priv->lid_state);
        return 0;
 }
-       
\ No newline at end of file