]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/tm6000/tm6000.h
V4L/DVB: tm6000: switch to gpio strcut
[karo-tx-linux.git] / drivers / staging / tm6000 / tm6000.h
index 321e60eb9a83e03c06d2635d8c7916ee9c4ab488..7fcc7478c69bc7174c5e29c007f98ff2c76a07e2 100644 (file)
@@ -103,6 +103,16 @@ enum tm6000_mode {
        TM6000_MODE_DIGITAL,
 };
 
+struct tm6000_gpio {
+       int             tuner_reset;
+       int             tuner_on;
+       int             demod_reset;
+       int             demod_on;
+       int             power_led;
+       int             dvb_led;
+       int             ir;
+}
+
 struct tm6000_capabilities {
        unsigned int    has_tuner:1;
        unsigned int    has_tda9874:1;
@@ -140,7 +150,8 @@ struct tm6000_core {
        /* Tuner configuration */
        int                             tuner_type;             /* type of the tuner */
        int                             tuner_addr;             /* tuner address */
-       int                             tuner_reset_gpio;       /* GPIO used for tuner reset */
+
+       struct tm6000_gpio              gpio;
 
        /* Demodulator configuration */
        int                             demod_addr;     /* demodulator address */