power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE
authorBixuan Cui <cuibixuan@huawei.com>
Sat, 8 May 2021 03:14:59 +0000 (11:14 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Fri, 4 Jun 2021 10:58:30 +0000 (12:58 +0200)
commited3443fb4df4e140a22f65144546c8a8e1e27f4e
tree055d5f3e8fd349e566aff5bb6deca2e23d0ffd37
parentf3076cd8d1d5fa64b5e1fa5affc045c2fc123baa
power: reset: gpio-poweroff: add missing MODULE_DEVICE_TABLE

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Bixuan Cui <cuibixuan@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/gpio-poweroff.c