forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The staging isdn drivers are gone, and CONFIG_BT_CMTP is now the only user. This means a lot of the code in the subsystem has no remaining callers and can be removed. Change the capi user space front-end to be part of kernelcapi, and the combined module to only be compiled if BT_CMTP is also enabled, then remove the interfaces that have no remaining callers. As the notifier list and the capi_drivers list have no callers outside of kcapi.c, the implementation gets much simpler. Some definitions from the include/linux/*.h headers are only needed internally and are moved to kcapi.h. Acked-by: David Miller <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information
Showing
14 changed files
with
179 additions
and
1,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
# SPDX-License-Identifier: GPL-2.0 | ||
# Makefile for the CAPI subsystem. | ||
# Makefile for the CAPI subsystem used by BT_CMTP | ||
|
||
# Ordering constraints: kernelcapi.o first | ||
|
||
# Each configuration option enables a list of files. | ||
|
||
obj-$(CONFIG_ISDN_CAPI) += kernelcapi.o | ||
obj-$(CONFIG_ISDN_CAPI_CAPI20) += capi.o | ||
obj-$(CONFIG_ISDN_CAPI_CAPIDRV) += capidrv.o | ||
|
||
# Multipart objects. | ||
|
||
kernelcapi-y := kcapi.o capiutil.o capilib.o | ||
kernelcapi-$(CONFIG_PROC_FS) += kcapi_proc.o | ||
|
||
ccflags-y += -I$(srctree)/$(src)/../include -I$(srctree)/$(src)/../include/uapi | ||
obj-$(CONFIG_BT_CMTP) += kernelcapi.o | ||
kernelcapi-y := kcapi.o capiutil.o capi.o kcapi_proc.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.