diff options
author | Stuart Yoder <stuart.yoder@nxp.com> | 2016-06-22 16:40:45 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-06-26 17:14:03 -0700 |
commit | 0afef45654ae908536278ecb143ded5bbc713391 (patch) | |
tree | 8f1ce0a2ad4a69fdd08426c6cf861b4c6adbc8c7 /drivers/staging/fsl-mc/include/mc.h | |
parent | 57538afb42e492eb6984f89663361bcfd80d9745 (diff) | |
download | op-kernel-dev-0afef45654ae908536278ecb143ded5bbc713391.zip op-kernel-dev-0afef45654ae908536278ecb143ded5bbc713391.tar.gz |
staging: fsl-mc: add support for device table matching
Move the definition of fsl_mc_device_id to its proper location in
mod_devicetable.h, and add fsl-mc bus support to devicetable-offsets.c
and file2alias.c to enable device table matching. With this patch udev
based module loading of fsl-mc drivers is supported.
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/fsl-mc/include/mc.h')
-rw-r--r-- | drivers/staging/fsl-mc/include/mc.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include/mc.h index bc0d45c..a9a9d23 100644 --- a/drivers/staging/fsl-mc/include/mc.h +++ b/drivers/staging/fsl-mc/include/mc.h @@ -51,19 +51,6 @@ struct fsl_mc_driver { container_of(_drv, struct fsl_mc_driver, driver) /** - * struct fsl_mc_device_id - MC object device Id entry for driver matching - * @vendor: vendor ID - * @obj_type: MC object type - * - * 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_id { - u16 vendor; - const char obj_type[16]; -}; - -/** * enum fsl_mc_pool_type - Types of allocatable MC bus resources * * Entries in these enum are used as indices in the array of resource |