staging: sm7xxfb: sm7xx becomes sm7xxfb
authorJavier M. Mellid <jmunhoz@igalia.com>
Sun, 10 Jun 2012 11:12:24 +0000 (13:12 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 17:55:54 +0000 (10:55 -0700)
Rename sm7xx driver to sm7xxfb. Fix Kconfig and Makefile to fit the new
change.

Changes are coherent with the rest of stable framebuffer drivers. TODO
updated.

Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/Kconfig
drivers/staging/Makefile
drivers/staging/sm7xx/Makefile [deleted file]
drivers/staging/sm7xxfb/Kconfig [moved from drivers/staging/sm7xx/Kconfig with 85% similarity]
drivers/staging/sm7xxfb/Makefile [new file with mode: 0644]
drivers/staging/sm7xxfb/TODO [moved from drivers/staging/sm7xx/TODO with 76% similarity]
drivers/staging/sm7xxfb/sm7xx.h [moved from drivers/staging/sm7xx/smtcfb.h with 100% similarity]
drivers/staging/sm7xxfb/sm7xxfb.c [moved from drivers/staging/sm7xx/smtcfb.c with 99% similarity]

index 05e33c7..38f1fb0 100644 (file)
@@ -84,7 +84,7 @@ source "drivers/staging/wlags49_h2/Kconfig"
 
 source "drivers/staging/wlags49_h25/Kconfig"
 
-source "drivers/staging/sm7xx/Kconfig"
+source "drivers/staging/sm7xxfb/Kconfig"
 
 source "drivers/staging/crystalhd/Kconfig"
 
index a987b3a..e0c4c24 100644 (file)
@@ -37,7 +37,7 @@ obj-$(CONFIG_ZCACHE)          += zcache/
 obj-$(CONFIG_ZSMALLOC)         += zsmalloc/
 obj-$(CONFIG_WLAGS49_H2)       += wlags49_h2/
 obj-$(CONFIG_WLAGS49_H25)      += wlags49_h25/
-obj-$(CONFIG_FB_SM7XX)         += sm7xx/
+obj-$(CONFIG_FB_SM7XX)         += sm7xxfb/
 obj-$(CONFIG_CRYSTALHD)                += crystalhd/
 obj-$(CONFIG_CXT1E1)           += cxt1e1/
 obj-$(CONFIG_FB_XGI)           += xgifb/
diff --git a/drivers/staging/sm7xx/Makefile b/drivers/staging/sm7xx/Makefile
deleted file mode 100644 (file)
index f43cb91..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-obj-$(CONFIG_FB_SM7XX) += sm7xx.o
-
-sm7xx-y := smtcfb.o
similarity index 85%
rename from drivers/staging/sm7xx/Kconfig
rename to drivers/staging/sm7xxfb/Kconfig
index 323964f..d5013f8 100644 (file)
@@ -9,5 +9,5 @@ config FB_SM7XX
          and SM722 chips.
 
          This driver is also available as a module. The module will be
-         called sm7xx. If you want to compile it as a module, say M
+         called sm7xxfb. If you want to compile it as a module, say M
          here and read <file:Documentation/kbuild/modules.txt>.
diff --git a/drivers/staging/sm7xxfb/Makefile b/drivers/staging/sm7xxfb/Makefile
new file mode 100644 (file)
index 0000000..48f471c
--- /dev/null
@@ -0,0 +1 @@
+obj-$(CONFIG_FB_SM7XX) += sm7xxfb.o
similarity index 76%
rename from drivers/staging/sm7xx/TODO
rename to drivers/staging/sm7xxfb/TODO
index 7304021..1fcead5 100644 (file)
@@ -3,7 +3,7 @@ TODO:
 - 2D acceleration support
 - use kernel coding style
 - refine the code and remove unused code
-- move it to drivers/video/sm7xx/ or make it be drivers/video/sm7xxfb.c
+- move it to drivers/video/sm7xxfb.c
 
 Please send any patches to Greg Kroah-Hartman <greg@kroah.com> and
 Teddy Wang <teddy.wang@siliconmotion.com.cn>.
similarity index 99%
rename from drivers/staging/sm7xx/smtcfb.c
rename to drivers/staging/sm7xxfb/sm7xxfb.c
index e7028a3..21dab34 100644 (file)
@@ -32,7 +32,7 @@
 #include <linux/pm.h>
 #endif
 
-#include "smtcfb.h"
+#include "sm7xx.h"
 
 struct screen_info smtc_screen_info;