diag: Disable the code for diag_smux
Disable the diag_smux code to fix the build with diagfwd USB enabled since the dependencies for diag_smux are not available it is deprecated in this kernel version. Change-Id: I6a8bc3a34f67ed5b1ca175cad0b3067e2c2df199 Signed-off-by: Gustavo Solaira <gustavos@codeaurora.org>
This commit is contained in:
parent
5e972f6b60
commit
70a7fe177d
3 changed files with 2 additions and 14 deletions
|
@ -1,6 +1,5 @@
|
|||
obj-$(CONFIG_DIAG_CHAR) := diagchar.o
|
||||
obj-$(CONFIG_DIAGFWD_BRIDGE_CODE) += diagfwd_bridge.o
|
||||
obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_hsic.o
|
||||
obj-$(CONFIG_USB_QCOM_DIAG_BRIDGE) += diagfwd_smux.o
|
||||
obj-$(CONFIG_MSM_MHI) += diagfwd_mhi.o
|
||||
diagchar-objs := diagchar_core.o diagchar_hdlc.o diagfwd.o diagfwd_glink.o diagfwd_peripheral.o diagfwd_smd.o diagfwd_socket.o diag_mux.o diag_memorydevice.o diag_usb.o diagmem.o diagfwd_cntl.o diag_dci.o diag_masks.o diag_debugfs.o
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2011-2017, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2011-2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -23,7 +23,6 @@
|
|||
#endif
|
||||
#ifdef CONFIG_USB_QCOM_DIAG_BRIDGE
|
||||
#include "diagfwd_hsic.h"
|
||||
#include "diagfwd_smux.h"
|
||||
#endif
|
||||
#ifdef CONFIG_MSM_MHI
|
||||
#include "diagfwd_mhi.h"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (c) 2012-2017, The Linux Foundation. All rights reserved.
|
||||
/* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 and
|
||||
|
@ -18,14 +18,10 @@
|
|||
#include <linux/workqueue.h>
|
||||
#include <linux/ratelimit.h>
|
||||
#include <linux/platform_device.h>
|
||||
#ifdef USB_QCOM_DIAG_BRIDGE
|
||||
#include <linux/smux.h>
|
||||
#endif
|
||||
#include "diag_mux.h"
|
||||
#include "diagfwd_bridge.h"
|
||||
#ifdef USB_QCOM_DIAG_BRIDGE
|
||||
#include "diagfwd_hsic.h"
|
||||
#include "diagfwd_smux.h"
|
||||
#endif
|
||||
#include "diagfwd_mhi.h"
|
||||
#include "diag_dci.h"
|
||||
|
@ -272,11 +268,6 @@ int diagfwd_bridge_init()
|
|||
err = diag_mdm_init();
|
||||
if (err)
|
||||
goto fail;
|
||||
#ifdef USB_QCOM_DIAG_BRIDGE
|
||||
err = diag_smux_init();
|
||||
if (err)
|
||||
goto fail;
|
||||
#endif
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
|
@ -288,7 +279,6 @@ void diagfwd_bridge_exit()
|
|||
{
|
||||
#ifdef USB_QCOM_DIAG_BRIDGE
|
||||
diag_hsic_exit();
|
||||
diag_smux_exit();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue