summaryrefslogtreecommitdiff
path: root/patches/0089-serdev-h-config.patch
blob: cd98ff06192ea6cb3521d8b74de839552064ed13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/include/linux/serdev.h b/include/linux/serdev.h
index f153b2c7f0cd..95ec24902864 100644
--- a/include/linux/serdev.h
+++ b/include/linux/serdev.h
@@ -198,7 +198,7 @@ static inline int serdev_controller_receive_buf(struct serdev_controller *ctrl,
 	return serdev->ops->receive_buf(serdev, data, count);
 }
 
-#if IS_ENABLED(CONFIG_SERIAL_DEV_BUS)
+#if IS_ENABLED(CPTCFG_SERIAL_DEV_BUS)
 
 int serdev_device_open(struct serdev_device *);
 void serdev_device_close(struct serdev_device *);
@@ -317,7 +317,7 @@ int serdev_device_set_parity(struct serdev_device *serdev,
 struct tty_port;
 struct tty_driver;
 
-#ifdef CONFIG_SERIAL_DEV_CTRL_TTYPORT
+#ifdef CPTCFG_SERIAL_DEV_CTRL_TTYPORT
 struct device *serdev_tty_port_register(struct tty_port *port,
 					struct device *parent,
 					struct tty_driver *drv, int idx);