]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit597e5c5d290cc3b3df98ccfdd4397eb2e7248583
tree055d5f3e8fd349e566aff5bb6deca2e23d0ffd37
parentcc07db4640ba785e0886b3e7da3bf3bd3e6339d5
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