diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-07-09 22:34:25 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-07-09 22:34:25 +0200 |
commit | f974a8ec96571535ee07880a023bcce0e3f2c76b (patch) | |
tree | 5cf09207b1ad292a55275cd0b24999fa29b9dfe8 /drivers/media/common/tuners/tuner-i2c.h | |
parent | [ARM] 5143/1: pxa: further cleanup PXA Kconfig by removing one (diff) | |
parent | [ARM] mach-types update (diff) | |
download | linux-f974a8ec96571535ee07880a023bcce0e3f2c76b.tar.xz linux-f974a8ec96571535ee07880a023bcce0e3f2c76b.zip |
Merge branch 'machtypes' into pxa-palm
Diffstat (limited to 'drivers/media/common/tuners/tuner-i2c.h')
-rw-r--r-- | drivers/media/common/tuners/tuner-i2c.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/media/common/tuners/tuner-i2c.h b/drivers/media/common/tuners/tuner-i2c.h index 3ad6c8e0b04c..cb1c7141f0c6 100644 --- a/drivers/media/common/tuners/tuner-i2c.h +++ b/drivers/media/common/tuners/tuner-i2c.h @@ -170,4 +170,12 @@ __fail: \ __ret; \ }) +#define hybrid_tuner_report_instance_count(state) \ +({ \ + int __ret = 0; \ + if (state) \ + __ret = state->i2c_props.count; \ + __ret; \ +}) + #endif /* __TUNER_I2C_H__ */ |