[media] media: Move au8522_media_pads enum to au8522.h from au8522_priv.h
authorShuah Khan <shuahkh@osg.samsung.com>
Thu, 11 Feb 2016 23:41:26 +0000 (21:41 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 11:33:30 +0000 (08:33 -0300)
Move the au8522_media_pads enum to au8522.h from au8522_priv.h to export
them. This will allow au0828-core to use these defines instead of
hard-coding them them.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/au8522.h
drivers/media/dvb-frontends/au8522_priv.h

index dde61582c158399153c8d4ccb15d9575d068c21b..3c72f40f53218a35646c3e00bb95e54f60cce9e2 100644 (file)
@@ -90,4 +90,11 @@ enum au8522_audio_input {
        AU8522_AUDIO_SIF,
 };
 
+enum au8522_media_pads {
+       AU8522_PAD_INPUT,
+       AU8522_PAD_VID_OUT,
+       AU8522_PAD_VBI_OUT,
+
+       AU8522_NUM_PADS
+};
 #endif /* __AU8522_H__ */
index 404a0cb0ed8d9b3b118ac755daaf7203da659bc0..505215a21dddf73449ac2d71d20d5de058d88d09 100644 (file)
 #define AU8522_DIGITAL_MODE 1
 #define AU8522_SUSPEND_MODE 2
 
-enum au8522_media_pads {
-       AU8522_PAD_INPUT,
-       AU8522_PAD_VID_OUT,
-       AU8522_PAD_VBI_OUT,
-
-       AU8522_NUM_PADS
-};
-
 struct au8522_state {
        struct i2c_client *c;
        struct i2c_adapter *i2c;