You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
57538afb42
commit
0afef45654
@@ -657,4 +657,20 @@ struct ulpi_device_id {
|
||||
kernel_ulong_t driver_data;
|
||||
};
|
||||
|
||||
/**
|
||||
* struct fsl_mc_device_id - MC object device identifier
|
||||
* @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_id {
|
||||
__u16 vendor;
|
||||
const char obj_type[16];
|
||||
};
|
||||
|
||||
|
||||
#endif /* LINUX_MOD_DEVICETABLE_H */
|
||||
|
||||
Reference in New Issue
Block a user