]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
platform/chrome: cros_ec_dev - Add a platform device ID table
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Mon, 22 Jun 2015 06:27:20 +0000 (08:27 +0200)
committerOlof Johansson <olof@lixom.net>
Wed, 7 Oct 2015 21:34:26 +0000 (14:34 -0700)
commitafbf8ec7c4f90ddd3ee8655c591983fb9d399f43
tree8161e3c12b05f913b80faedec672ac2e49ea6d94
parent85bba84ead5cec41add1cbdb2978e572add10deb
platform/chrome: cros_ec_dev - Add a platform device ID table

If the cros_ec_dev driver is built as a module, modalias information is
not filled so the module is not autoloaded. Add a platform device table
and use the MODULE_DEVICE_TABLE() macro to export that information in
the module so user-space can match the modalias uevent and autoload it.

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/platform/chrome/cros_ec_dev.c