Skip to content

Commit

Permalink
soc/oplus/radio: fix inline building
Browse files Browse the repository at this point in the history
Also remove duplicate mdmrst, it makes more sense to have in the same
radio path as mdmfeature is from this path also
  • Loading branch information
RealJohnGalt committed Sep 24, 2024
1 parent 6e55238 commit b1949a0
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 202 deletions.
12 changes: 8 additions & 4 deletions drivers/soc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ source "drivers/soc/oplus/midas/Kconfig"
source "drivers/soc/oplus/boot/qcom_watchdog/Kconfig"
#endif

#ifdef OPLUS_FEATURE_MODEM_MINIDUMP
source "drivers/soc/oplus/mdmrst/Kconfig"
#endif /*OPLUS_FEATURE_MODEM_MINIDUMP*/

endmenu

#ifdef OPLUS_FEATURE_TP_BASIC
Expand Down Expand Up @@ -182,6 +178,14 @@ source "drivers/soc/oplus/network/oplus_vnet/Kconfig"
source "drivers/soc/oplus/network/hans/Kconfig"
#endif /* OPLUS_FEATURE_HANS */

#ifdef OPLUS_FEATURE_MDMFEATURE
source "drivers/soc/oplus/radio/mdmfeature/Kconfig"
#endif /* OPLUS_FEATURE_MDMFEATURE */

#ifdef OPLUS_FEATURE_RECORD_MDMRST
source "drivers/soc/oplus/radio/mdmrst/Kconfig"
#endif /* OPLUS_FEATURE_RECORD_MDMRST */

#ifdef OPLUS_SUBSYS_SLEEP_MONITOR
source "drivers/soc/oplus/power/subsys_sleep_monitor/Kconfig"
#endif /* OPLUS_SUBSYS_SLEEP_MONITOR */
Expand Down
12 changes: 8 additions & 4 deletions drivers/soc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ obj-$(CONFIG_OPLUS_TRIKEY_MAIN) += oplus/tri_state_key/
obj-y += oplus/boot/
#endif /* OPLUS_FEATURE_BOOT */

#ifdef OPLUS_FEATURE_MODEM_MINIDUMP
obj-$(CONFIG_OPLUS_FEATURE_RECORD_MDMRST) += oplus/mdmrst/
#endif /*OPLUS_FEATURE_MODEM_MINIDUMP*/

#ifdef OPLUS_FEATURE_MIDAS_GKI
obj-$(CONFIG_OPLUS_FEATURE_MIDAS_GKI) += oplus/midas/
#endif
Expand Down Expand Up @@ -142,6 +138,14 @@ obj-$(CONFIG_OPLUS_FEATURE_VIRTUAL_NET) += oplus/network/oplus_vnet/
obj-$(CONFIG_OPLUS_FEATURE_HANS) += oplus/network/hans/
#endif

#ifdef OPLUS_FEATURE_MDMFEATURE
obj-$(CONFIG_OPLUS_FEATURE_MDMFEATURE) += oplus/radio/mdmfeature/
#endif

#ifdef OPLUS_FEATURE_RECORD_MDMRST
obj-$(CONFIG_OPLUS_FEATURE_RECORD_MDMRST) += oplus/radio/mdmrst/
#endif

obj-$(CONFIG_OPLUS_FEATURE_QCOM_WATCHDOG) += oplus/boot/qcom_watchdog/
obj-y += oplus/dfr/
obj-y += oplus/dft/
Expand Down
6 changes: 0 additions & 6 deletions drivers/soc/oplus/mdmrst/Kconfig

This file was deleted.

3 changes: 0 additions & 3 deletions drivers/soc/oplus/mdmrst/Makefile

This file was deleted.

185 changes: 0 additions & 185 deletions drivers/soc/oplus/mdmrst/oplus_mdmrst.c

This file was deleted.

0 comments on commit b1949a0

Please sign in to comment.