summaryrefslogtreecommitdiff
path: root/patches/0089-serdev-h-config.patch
diff options
context:
space:
mode:
authorDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 11:35:20 +0100
committerDominik Sliwa <dominik.sliwa@toradex.com>2019-02-21 14:07:51 +0100
commit36735bb86a5e144603743bb800d7f69362d2ee2d (patch)
tree363158c7f80f3fc5a7690ca9d9ff6e5fcd7fa52e /patches/0089-serdev-h-config.patch
parente7720369ef69376d1244b49373e34663eaa6b5a1 (diff)
backports: reintroduce bluetooth support
Signed-off-by: Dominik Sliwa <dominik.sliwa@toradex.com>
Diffstat (limited to 'patches/0089-serdev-h-config.patch')
-rw-r--r--patches/0089-serdev-h-config.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/0089-serdev-h-config.patch b/patches/0089-serdev-h-config.patch
new file mode 100644
index 00000000..cd98ff06
--- /dev/null
+++ b/patches/0089-serdev-h-config.patch
@@ -0,0 +1,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);