summaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/wwan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/wwan.c')
-rw-r--r--src/ec/lenovo/h8/wwan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/wwan.c b/src/ec/lenovo/h8/wwan.c
index cb60ce8616..4a07604133 100644
--- a/src/ec/lenovo/h8/wwan.c
+++ b/src/ec/lenovo/h8/wwan.c
@@ -23,7 +23,7 @@ void h8_wwan_enable(int on)
/*
* Detect WWAN on supported MBs.
*/
-bool h8_has_wwan(struct device *dev)
+bool h8_has_wwan(const struct device *dev)
{
struct ec_lenovo_h8_config *conf = dev->chip_info;