diff options
| author | Rasmus Villemoes <[email protected]> | 2021-08-19 11:56:57 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-08-31 12:04:03 +0200 |
| commit | 068f8eafe985a8658aaea8f476316c4f3940c7bd (patch) | |
| tree | 38eff5d6f5ee63686fccbc6c3dc8abb1956b6fe4 /drivers | |
| parent | 6d24dc89f06d57fc4501fc927a765e7db2037e6c (diff) | |
watchdog: wdt-uclass.c: neaten UCLASS_DRIVER definition
The addition of .pre_probe and .per_device_auto made this look
bad. Fix it.
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/watchdog/wdt-uclass.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/watchdog/wdt-uclass.c b/drivers/watchdog/wdt-uclass.c index b29d2147248..81287c759af 100644 --- a/drivers/watchdog/wdt-uclass.c +++ b/drivers/watchdog/wdt-uclass.c @@ -210,10 +210,10 @@ static int wdt_pre_probe(struct udevice *dev) } UCLASS_DRIVER(wdt) = { - .id = UCLASS_WDT, - .name = "watchdog", - .flags = DM_UC_FLAG_SEQ_ALIAS, - .post_bind = wdt_post_bind, + .id = UCLASS_WDT, + .name = "watchdog", + .flags = DM_UC_FLAG_SEQ_ALIAS, + .post_bind = wdt_post_bind, .pre_probe = wdt_pre_probe, .per_device_auto = sizeof(struct wdt_priv), }; |
