i2c: cros-ec-tunnel: Add of match table
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 19 Sep 2014 08:08:12 +0000 (10:08 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 29 Sep 2014 20:52:16 +0000 (22:52 +0200)
commit6c97c9c1acfce89cce2f239f0325786f95aea848
treeaf44a2117bb44c72e91731fae201484aa1911716
parent22762ccb0ef02a8fbdde09046d7095d46f3b7095
i2c: cros-ec-tunnel: Add of match table

To enable the cros-ec-tunnel driver to be auto-loaded when build as a
module add an of match table (and export it) to match the modalias
information passed on to userspace as the Cros EC MFD driver registers
the MFD subdevices with an of_compatibility string.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-cros-ec-tunnel.c