Re: [PATCH][ATM] make atm (and clip) modular + try_module_get()

Roman Zippel (
Wed, 5 Mar 2003 17:26:27 +0100 (CET)


On Wed, 5 Mar 2003, Kai Germaschewski wrote:

> The preferred way would be:
> obj-$(CONFIG_ATM) += atm.o
> atm-y := addr.o pvc.o signaling.o svc.o common.o atm_misc.o raw.o resources.o
> atm-$(subst m,y,$(CONFIG_ATM_CLIP)) += ipcommon.o
> atm-$(subst m,y,$(CONFIG_NET_SCH_ATM)) += ipcommon.o
> atm-$(CONFIG_PROC_FS) += proc.o

BTW some of this could also be done in the Kconfig:

default y if ATM_CLIP || NET_SCH_ATM

so you can change this into:

atm-$(CONFIG_ATM_IPCOMMON) += ipcommon.o

bye, Roman

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at