power: reset: restart-poweroff: Add missing MODULE_DEVICE_TABLE
authorBixuan Cui <cuibixuan@huawei.com>
Sat, 10 Apr 2021 03:50:40 +0000 (11:50 +0800)
committerSebastian Reichel <sre@kernel.org>
Mon, 12 Apr 2021 19:18:52 +0000 (21:18 +0200)
commite318c3c2ae7d64ae47467044523bd3e2da5c5ce6
treef94c54d050ee904ce5bfd9190caf3f2d12c7fab6
parent2d54a2222c4ad03b5a5e86fc77c053053ef921c7
power: reset: restart-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/restart-poweroff.c