Browse Source

[media] altera-stapl: it is time to move out from staging

[mchehab@redhat.com: Fix a merge conflict]
Signed-off-by: Igor M. Liplianin <liplianin@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Igor M. Liplianin 13 years ago
parent
commit
cff4fa8415

+ 1 - 1
drivers/media/video/cx23885/cx23885-cards.c

@@ -25,8 +25,8 @@
 #include <linux/delay.h>
 #include <media/cx25840.h>
 #include <linux/firmware.h>
+#include <misc/altera.h>
 
-#include "../../../staging/altera-stapl/altera.h"
 #include "cx23885.h"
 #include "tuner-xc2028.h"
 #include "netup-eeprom.h"

+ 1 - 0
drivers/misc/Kconfig

@@ -506,5 +506,6 @@ source "drivers/misc/iwmc3200top/Kconfig"
 source "drivers/misc/ti-st/Kconfig"
 source "drivers/misc/lis3lv02d/Kconfig"
 source "drivers/misc/carma/Kconfig"
+source "drivers/misc/altera-stapl/Kconfig"
 
 endif # MISC_DEVICES

+ 1 - 0
drivers/misc/Makefile

@@ -47,3 +47,4 @@ obj-$(CONFIG_AB8500_PWM)	+= ab8500-pwm.o
 obj-y				+= lis3lv02d/
 obj-y				+= carma/
 obj-$(CONFIG_USB_SWITCH_FSA9480) += fsa9480.o
+obj-$(CONFIG_ALTERA_STAPL)	+=altera-stapl/

+ 2 - 0
drivers/staging/altera-stapl/Kconfig → drivers/misc/altera-stapl/Kconfig

@@ -1,3 +1,5 @@
+comment "Altera FPGA firmware download module"
+
 config ALTERA_STAPL
 	tristate "Altera FPGA firmware download module"
 	depends on I2C

+ 3 - 0
drivers/misc/altera-stapl/Makefile

@@ -0,0 +1,3 @@
+altera-stapl-objs = altera-lpt.o altera-jtag.o altera-comp.o altera.o
+
+obj-$(CONFIG_ALTERA_STAPL) += altera-stapl.o

+ 0 - 0
drivers/staging/altera-stapl/altera-comp.c → drivers/misc/altera-stapl/altera-comp.c


+ 0 - 0
drivers/staging/altera-stapl/altera-exprt.h → drivers/misc/altera-stapl/altera-exprt.h


+ 1 - 1
drivers/staging/altera-stapl/altera-jtag.c → drivers/misc/altera-stapl/altera-jtag.c

@@ -26,7 +26,7 @@
 #include <linux/delay.h>
 #include <linux/firmware.h>
 #include <linux/slab.h>
-#include "altera.h"
+#include <misc/altera.h>
 #include "altera-exprt.h"
 #include "altera-jtag.h"
 

+ 0 - 0
drivers/staging/altera-stapl/altera-jtag.h → drivers/misc/altera-stapl/altera-jtag.h


+ 0 - 0
drivers/staging/altera-stapl/altera-lpt.c → drivers/misc/altera-stapl/altera-lpt.c


+ 1 - 1
drivers/staging/altera-stapl/altera.c → drivers/misc/altera-stapl/altera.c

@@ -28,7 +28,7 @@
 #include <linux/string.h>
 #include <linux/firmware.h>
 #include <linux/slab.h>
-#include "altera.h"
+#include <misc/altera.h>
 #include "altera-exprt.h"
 #include "altera-jtag.h"
 

+ 0 - 2
drivers/staging/Kconfig

@@ -142,8 +142,6 @@ source "drivers/staging/ste_rmi4/Kconfig"
 
 source "drivers/staging/gma500/Kconfig"
 
-source "drivers/staging/altera-stapl/Kconfig"
-
 source "drivers/staging/mei/Kconfig"
 
 source "drivers/staging/nvec/Kconfig"

+ 0 - 1
drivers/staging/Makefile

@@ -59,7 +59,6 @@ obj-$(CONFIG_BCM_WIMAX)		+= bcm/
 obj-$(CONFIG_FT1000)		+= ft1000/
 obj-$(CONFIG_SND_INTEL_SST)	+= intel_sst/
 obj-$(CONFIG_SPEAKUP)		+= speakup/
-obj-$(CONFIG_ALTERA_STAPL)	+=altera-stapl/
 obj-$(CONFIG_TOUCHSCREEN_CLEARPAD_TM1217)	+= cptm1217/
 obj-$(CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4)	+= ste_rmi4/
 obj-$(CONFIG_DRM_PSB)		+= gma500/

+ 0 - 3
drivers/staging/altera-stapl/Makefile

@@ -1,3 +0,0 @@
-altera-stapl-y := altera-lpt.o altera-jtag.o altera-comp.o altera.o
-
-obj-$(CONFIG_ALTERA_STAPL) += altera-stapl.o

+ 0 - 0
drivers/staging/altera-stapl/altera.h → include/misc/altera.h