mfd: cros_ec_i2c: Add ACPI module device table

Add ACPI module device table for matching cros-ec devices to load the
cros_ec_i2c driver automatically.

Signed-off-by: Wei-Ning Huang <wnhuang@google.com>
Acked-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Wei-Ning Huang
2018-04-18 12:24:03 +02:00
committed by Lee Jones
parent e15b7f44a2
commit abeed71b64
2 changed files with 13 additions and 1 deletions

View File

@ -482,7 +482,7 @@ static void ec_device_shutdown(struct platform_device *pdev)
static const struct platform_device_id cros_ec_id[] = {
{ DRV_NAME, 0 },
{ /* sentinel */ },
{ /* sentinel */ }
};
MODULE_DEVICE_TABLE(platform, cros_ec_id);