Skip to content

Commit b92ad8a

Browse files
pdgendtkartben
authored andcommitted
drivers: modem: cellular: Place API into iterable section
Add wrapper DEVICE_API macro to all cellular_driver_api instances. Signed-off-by: Pieter De Gendt <[email protected]>
1 parent 93bb8a0 commit b92ad8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/modem/modem_cellular.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1668,7 +1668,7 @@ static int modem_cellular_get_registration_status(const struct device *dev,
16681668
return ret;
16691669
}
16701670

1671-
const static struct cellular_driver_api modem_cellular_api = {
1671+
static DEVICE_API(cellular, modem_cellular_api) = {
16721672
.get_signal = modem_cellular_get_signal,
16731673
.get_modem_info = modem_cellular_get_modem_info,
16741674
.get_registration_status = modem_cellular_get_registration_status,

0 commit comments

Comments
 (0)