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);