提交 4c4ada73 编写于 作者: S Shuah Khan 提交者: Mauro Carvalho Chehab

[media] media: Move au8522_media_pads enum to au8522.h from au8522_priv.h

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: NShuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 d0a164f5
...@@ -90,4 +90,11 @@ enum au8522_audio_input { ...@@ -90,4 +90,11 @@ enum au8522_audio_input {
AU8522_AUDIO_SIF, AU8522_AUDIO_SIF,
}; };
enum au8522_media_pads {
AU8522_PAD_INPUT,
AU8522_PAD_VID_OUT,
AU8522_PAD_VBI_OUT,
AU8522_NUM_PADS
};
#endif /* __AU8522_H__ */ #endif /* __AU8522_H__ */
...@@ -39,14 +39,6 @@ ...@@ -39,14 +39,6 @@
#define AU8522_DIGITAL_MODE 1 #define AU8522_DIGITAL_MODE 1
#define AU8522_SUSPEND_MODE 2 #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 au8522_state {
struct i2c_client *c; struct i2c_client *c;
struct i2c_adapter *i2c; struct i2c_adapter *i2c;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册