aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/fsl-mc/include/mc.h
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@nxp.com>2016-06-22 16:40:44 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-26 17:14:03 -0700
commit57538afb42e492eb6984f89663361bcfd80d9745 (patch)
tree26b0b88c950c40f1df7e1b4e408764b94c471c24 /drivers/staging/fsl-mc/include/mc.h
parentstaging: fsl-mc: implement uevent callback and set the modalias (diff)
downloadwireguard-linux-57538afb42e492eb6984f89663361bcfd80d9745.tar.xz
wireguard-linux-57538afb42e492eb6984f89663361bcfd80d9745.zip
staging: fsl-mc: clean up the device id struct
-rename the struct used for fsl-mc device ids to be more consistent with other busses -remove the now obsolete and unused version fields Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/fsl-mc/include/mc.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h
index ac7c1ce68c03..bc0d45cb9b65 100644
--- a/drivers/staging/fsl-mc/include/mc.h
+++ b/drivers/staging/fsl-mc/include/mc.h
@@ -39,7 +39,7 @@ struct fsl_mc_bus;
*/
struct fsl_mc_driver {
struct device_driver driver;
- const struct fsl_mc_device_match_id *match_id_table;
+ const struct fsl_mc_device_id *match_id_table;
int (*probe)(struct fsl_mc_device *dev);
int (*remove)(struct fsl_mc_device *dev);
void (*shutdown)(struct fsl_mc_device *dev);
@@ -51,20 +51,16 @@ struct fsl_mc_driver {
container_of(_drv, struct fsl_mc_driver, driver)
/**
- * struct fsl_mc_device_match_id - MC object device Id entry for driver matching
+ * struct fsl_mc_device_id - MC object device Id entry for driver matching
* @vendor: vendor ID
* @obj_type: MC object type
- * @ver_major: MC object version major number
- * @ver_minor: MC object version minor number
*
* Type of entries in the "device Id" table for MC object devices supported by
* a MC object device driver. The last entry of the table has vendor set to 0x0
*/
-struct fsl_mc_device_match_id {
+struct fsl_mc_device_id {
u16 vendor;
const char obj_type[16];
- u32 ver_major;
- u32 ver_minor;
};
/**