w1-eeprom: Make use of static keyword in drivers
authorTom Rini <trini@konsulko.com>
Fri, 26 Sep 2025 15:31:48 +0000 (09:31 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 8 Oct 2025 22:13:11 +0000 (16:13 -0600)
commit7781f1d832bbf9461b82d48301091b15fcf1be14
tree8b9d8d6b11f177e517534f1ca18c7a782b9846be
parent7c2e4487e449b4396531789f1df49ccb8c911952
w1-eeprom: Make use of static keyword in drivers

Both the ds24xxx and ds2502 have a family_supported array which is local
to the driver but was not marked as static. Mark this as static as both
best practice and to allow both to be built in "allyesconfig" for
example.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/w1-eeprom/ds24xxx.c
drivers/w1-eeprom/ds2502.c