aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/drx39xyj
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <m.chehab@samsung.com>2014-01-27 02:01:40 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-03-04 14:38:42 -0300
commit97a8918abfb5f1f9718d3bf5da38fbf803066c37 (patch)
treeed6c3b262dd3bde4ec80f8325aae282bc616c6af /drivers/media/dvb-frontends/drx39xyj
parent[media] drx-j: Fix qam/256 mode (diff)
downloadlinux-dev-97a8918abfb5f1f9718d3bf5da38fbf803066c37.tar.xz
linux-dev-97a8918abfb5f1f9718d3bf5da38fbf803066c37.zip
[media] drx-j: Get rid of I2C protocol version
This is not used anywere. Get rid of it. Acked-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/drx39xyj')
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c15
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drx_driver.h1
-rw-r--r--drivers/media/dvb-frontends/drx39xyj/drxj.c15
3 files changed, 0 insertions, 31 deletions
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c b/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c
index b78d45b68668..b81b4f9cd4b0 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drx_dap_fasi.c
@@ -108,23 +108,8 @@ static int drxdap_fasi_read_modify_write_reg32(struct i2c_device_addr *dev_addr,
u32 datain, /* data to send */
u32 *dataout); /* data to receive back */
-/* The version structure of this protocol implementation */
-char drx_dap_fasi_module_name[] = "FASI Data Access Protocol";
-char drx_dap_fasi_version_text[] = "";
-
-struct drx_version drx_dap_fasi_version = {
- DRX_MODULE_DAP, /**< type identifier of the module */
- drx_dap_fasi_module_name, /**< name or description of module */
-
- 0, /**< major version number */
- 0, /**< minor version number */
- 0, /**< patch version number */
- drx_dap_fasi_version_text /**< version as text string */
-};
-
/* The structure containing the protocol interface */
struct drx_access_func drx_dap_fasi_funct_g = {
- &drx_dap_fasi_version,
drxdap_fasi_write_block, /* Supported */
drxdap_fasi_read_block, /* Supported */
drxdap_fasi_write_reg8, /* Not supported */
diff --git a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
index aabd5c56d55b..f3098b6bd006 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
+++ b/drivers/media/dvb-frontends/drx39xyj/drx_driver.h
@@ -1825,7 +1825,6 @@ struct drx_aud_data {
* \struct struct drx_access_func * \brief Interface to an access protocol.
*/
struct drx_access_func {
- struct drx_version *protocolVersion;
drx_write_block_func_t write_block_func;
drx_read_block_func_t read_block_func;
drx_write_reg8func_t write_reg8func;
diff --git a/drivers/media/dvb-frontends/drx39xyj/drxj.c b/drivers/media/dvb-frontends/drx39xyj/drxj.c
index 8f2f2653af2c..1e202dafe335 100644
--- a/drivers/media/dvb-frontends/drx39xyj/drxj.c
+++ b/drivers/media/dvb-frontends/drx39xyj/drxj.c
@@ -584,23 +584,8 @@ static int drxj_dap_write_reg32(struct i2c_device_addr *dev_addr,
u32 addr,
u32 data, u32 flags);
-/* The version structure of this protocol implementation */
-char drx_dap_drxj_module_name[] = "DRXJ Data Access Protocol";
-char drx_dap_drxj_version_text[] = "0.0.0";
-
-struct drx_version drx_dap_drxj_version = {
- DRX_MODULE_DAP, /**< type identifier of the module */
- drx_dap_drxj_module_name, /**< name or description of module */
-
- 0, /**< major version number */
- 0, /**< minor version number */
- 0, /**< patch version number */
- drx_dap_drxj_version_text /**< version as text string */
-};
-
/* The structure containing the protocol interface */
struct drx_access_func drx_dap_drxj_funct_g = {
- &drx_dap_drxj_version,
drxj_dap_write_block, /* Supported */
drxj_dap_read_block, /* Supported */
drxj_dap_write_reg8, /* Not supported */