media: dvb-frontends: inlining i2c adapter get for WinTV-DualHD
Henning Garbers [Wed, 31 Aug 2016 22:40:33 +0000 (15:40 -0700)]
Bug: 30095176
Bug 1736911

Change-Id: I75ae4d9c9500bd0c77696b0d012bdece51521aca
Signed-off-by: Sungtak Lee <taklee@google.com>
Signed-off-by: Jean Huang <jeanh@nvidia.com>
Signed-off-by: Patrick Horng <phorng@nvidia.com>
Reviewed-on: http://git-master/r/1284465
(cherry picked from commit 73323cfaf70f8cc164bea5d06a84827e7f3cc37d)
Reviewed-on: http://git-master/r/1311293
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/1456507
Reviewed-by: Manish Tuteja <mtuteja@nvidia.com>

drivers/media/dvb-frontends/s921.h

index 8d5e2a6..9a58f01 100644 (file)
@@ -36,7 +36,7 @@ static inline struct dvb_frontend *s921_attach(
        printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);
        return NULL;
 }
-static struct i2c_adapter *
+static inline struct i2c_adapter *
        s921_get_tuner_i2c_adapter(struct dvb_frontend *fe)
 {
        printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __func__);