diff options
author | Jules Maselbas <jmaselbas@kalray.eu> | 2022-01-17 23:19:12 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-18 09:07:27 +0100 |
commit | da51e98d83d66d9b24cfda8b4de13ec0da951ec2 (patch) | |
tree | 4831487f0ad10ac559ba3dec79efe42d482a2d95 /drivers/clocksource | |
parent | 129fd6b6cdfd067ed315f558409df03beb2a4533 (diff) | |
download | barebox-da51e98d83d66d9b24cfda8b4de13ec0da951ec2.tar.gz barebox-da51e98d83d66d9b24cfda8b4de13ec0da951ec2.tar.xz |
clocksource: kvx: Register as postcore_platform_driver
Register the kvx clocksource driver sooner, before probing other device
drivers by using the postcore_platform_driver macro. That way the other
drivers will have a correct timestamp when printing messages.
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Link: https://lore.barebox.org/20220117221917.26970-7-jmaselbas@kalray.eu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/kvx_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/kvx_timer.c b/drivers/clocksource/kvx_timer.c index 4125ddbee0..2a05d8deed 100644 --- a/drivers/clocksource/kvx_timer.c +++ b/drivers/clocksource/kvx_timer.c @@ -55,4 +55,4 @@ static struct driver_d kvx_timer_driver = { .of_compatible = DRV_OF_COMPAT(kvx_timer_dt_ids), }; -device_platform_driver(kvx_timer_driver); +postcore_platform_driver(kvx_timer_driver); |