aboutsummaryrefslogtreecommitdiff
path: root/src/ec/lenovo/h8/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/lenovo/h8/bluetooth.c')
-rw-r--r--src/ec/lenovo/h8/bluetooth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/lenovo/h8/bluetooth.c b/src/ec/lenovo/h8/bluetooth.c
index 0ee0c02195..561072ff1e 100644
--- a/src/ec/lenovo/h8/bluetooth.c
+++ b/src/ec/lenovo/h8/bluetooth.c
@@ -25,7 +25,7 @@ void h8_bluetooth_enable(int on)
/*
* Detect BDC on supported MBs.
*/
-bool h8_has_bdc(struct device *dev)
+bool h8_has_bdc(const struct device *dev)
{
struct ec_lenovo_h8_config *conf = dev->chip_info;