diff --git a/drivers/misc/bootstate.c b/drivers/misc/bootstate.c index 96b9f23c4..5db6db8e5 100644 --- a/drivers/misc/bootstate.c +++ b/drivers/misc/bootstate.c @@ -65,4 +65,4 @@ static struct driver_d bootstate_driver = { .probe = bootstate_probe, .of_compatible = DRV_OF_COMPAT(bootstate_ids), }; -device_platform_driver(bootstate_driver); +register_driver_macro(late,platform,bootstate_driver);