summaryrefslogtreecommitdiffstats
path: root/include/media/i2c/smiapp.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2016-08-13 12:46:50 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-09-05 15:52:33 -0300
commit567716c5817cbcc482f70724d7f98aa6702c6e4c (patch)
tree8596e85b67bd2c5a9fc9b76af69b8c2fddc8df0f /include/media/i2c/smiapp.h
parent7374300191c862a785dbf4c5f3d7b52ee00c7b45 (diff)
downloadlinux-567716c5817cbcc482f70724d7f98aa6702c6e4c.tar.bz2
[media] smiapp: Switch to gpiod API for GPIO control
Switch from the old gpio API to the new descriptor based gpiod API. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Sebastian Reichel <sre@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media/i2c/smiapp.h')
-rw-r--r--include/media/i2c/smiapp.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/media/i2c/smiapp.h b/include/media/i2c/smiapp.h
index a4a1b510c9d3..eacc3f4e3deb 100644
--- a/include/media/i2c/smiapp.h
+++ b/include/media/i2c/smiapp.h
@@ -36,8 +36,6 @@
#define SMIAPP_CSI_SIGNALLING_MODE_CCP2_DATA_STROBE 1
#define SMIAPP_CSI_SIGNALLING_MODE_CSI2 2
-#define SMIAPP_NO_XSHUTDOWN -1
-
/*
* Sometimes due to board layout considerations the camera module can be
* mounted rotated. The typical rotation used is 180 degrees which can be
@@ -77,7 +75,6 @@ struct smiapp_hwconfig {
struct smiapp_flash_strobe_parms *strobe_setup;
int (*set_xclk)(struct v4l2_subdev *sd, int hz);
- int32_t xshutdown; /* gpio or SMIAPP_NO_XSHUTDOWN */
};
#endif /* __SMIAPP_H_ */