driver list: separate decl for driver desc and linked list creation
commitb23739a741121372ec22d1da6249a34c774b0d5a
authorGerhard Sittig <gerhard.sittig@gmx.net>
Tue, 9 May 2023 18:59:20 +0000 (9 20:59 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Tue, 9 May 2023 20:25:32 +0000 (9 22:25 +0200)
treee670f685bf5665ad4a81b791bf43ef29312c71f4
parent923e848bfa6b1d4cc4266b67f1517696d762ea38
driver list: separate decl for driver desc and linked list creation

Split the DECLARE_DRIVER() macro into the DECLARE_DRIVER_DESC() and the
DECLARE_DRIVER_CONS() parts. The linked list construction at runtime is
logically separate (is one approach of implementation) from the need to
declare each driver in a descriptor (which is common across different
approaches to implement the list construction).
src/drivers.h