OSDN Git Service

staging: fsl-mc: add support for the modalias sysfs attribute
authorStuart Yoder <stuart.yoder@nxp.com>
Wed, 22 Jun 2016 21:40:42 +0000 (16:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jun 2016 00:14:03 +0000 (17:14 -0700)
commit3d579c350842c7a46da2da76b3461f7cfa3f6df9
treefc595983a2ccc58b291ddfddd1d97e4ff0c1a7d0
parentb3e6916d6edfdf12505efbfb4a019e8a96f2c674
staging: fsl-mc: add support for the modalias sysfs attribute

In order to support uevent based module loading implement modalias support
for the fsl-mc bus driver. Aliases are based on vendor and object/device
id and are of the form "fsl-mc:vNdN".

Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c