diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 12:40:11 +0200 |
|---|---|---|
| committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2026-05-18 11:16:19 +0200 |
| commit | bcb685e15ee66daec68025a40be3b54156ad0410 (patch) | |
| tree | 59c84a57349354f6ffcfcaf45465d065b2d88ef7 /scripts/Makefile.thinlto | |
| parent | 99a680bed60428175ff9c5c95d579826ca2ff3f8 (diff) | |
nubus: Switch to dynamic root device
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly if a device that lacks a release function is
ever freed.
Use root_device_register() to allocate and register the root device
instead of open coding using a static device.
Signed-off-by: Johan Hovold <johan@kernel.org>
Acked-by: Finn Thain <fthain@linux-m68k.org>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://patch.msgid.link/20260424104011.2616970-1-johan@kernel.org
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
