From: Adrian Bunk Date: Sun, 13 Nov 2005 18:26:25 +0000 (-0500) Subject: [PATCH] hostap: rename hostap.c to hostap_main.c X-Git-Tag: v2.6.16-rc1~474^2~22^2~7^2~93^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7635d345b2c047339b44c85fff486c6b94b67216;p=linux-2.6 [PATCH] hostap: rename hostap.c to hostap_main.c I wanted to remove the #include "hostap_ioctl.c" from hostap.c and build hostap_ioctl.c separately, but this doesn't work since hostap.c has the same name as the module. After renaming hostap.c this will be possible. Signed-off-by: Adrian Bunk Acked-by: Jouni Malinen Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/hostap/Makefile b/drivers/net/wireless/hostap/Makefile index fc62235bfc..353ccb9313 100644 --- a/drivers/net/wireless/hostap/Makefile +++ b/drivers/net/wireless/hostap/Makefile @@ -1,3 +1,4 @@ +hostap-y := hostap_main.o obj-$(CONFIG_HOSTAP) += hostap.o obj-$(CONFIG_HOSTAP_CS) += hostap_cs.o diff --git a/drivers/net/wireless/hostap/hostap.c b/drivers/net/wireless/hostap/hostap_main.c similarity index 100% rename from drivers/net/wireless/hostap/hostap.c rename to drivers/net/wireless/hostap/hostap_main.c