diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2018-02-08 20:53:15 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 14:48:59 +0100 |
commit | d19e3a72a6cec187a35aed9abf03fc4730eded76 (patch) | |
tree | 72feba78a5eb56ea51d25b98320d9f6af8d0a14f /drivers/media/pci/ngene/ngene.h | |
parent | media: staging/cxd2099: convert to regmap API (diff) | |
download | linux-d19e3a72a6cec187a35aed9abf03fc4730eded76.tar.xz linux-d19e3a72a6cec187a35aed9abf03fc4730eded76.zip |
media: ngene: adapt cxd2099 attach to the new i2c_client way
Change the way the cxd2099 hardware is being attached to the new I2C
client interface way.
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Jasmin Jessich <jasmin@anw.at>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/ngene/ngene.h')
-rw-r--r-- | drivers/media/pci/ngene/ngene.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/ngene/ngene.h b/drivers/media/pci/ngene/ngene.h index 02dbd18f92d0..caf8602c7459 100644 --- a/drivers/media/pci/ngene/ngene.h +++ b/drivers/media/pci/ngene/ngene.h @@ -630,6 +630,7 @@ struct ngene_vopen { struct ngene_channel { struct device device; struct i2c_adapter i2c_adapter; + struct i2c_client *i2c_client[1]; struct ngene *dev; int number; |