Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755999AbZICQiT (ORCPT ); Thu, 3 Sep 2009 12:38:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755926AbZICQiS (ORCPT ); Thu, 3 Sep 2009 12:38:18 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:64399 "EHLO mail-bw0-f219.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755910AbZICQiR (ORCPT ); Thu, 3 Sep 2009 12:38:17 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=IBRshuDzxz758trpyPPCPNQ1IvNXnYF+ohte/h4V5slWwo6sUMvetyLfV2zTB2Krg3 4/Rc5/A5Fr3lnid5GxanO0cUcKSU0ANierXYaFv4BnmMsMPzP25PKdukDt7vbprbaofM IAybMewLx9bD40dKGlNydye156lb5AHawQqlE= From: Alexander Beregalov To: gregkh@suse.de, linux-kernel@vger.kernel.org Cc: Alexander Beregalov Subject: [PATCH] Staging: vt665x: fix built-in compiling Date: Thu, 3 Sep 2009 20:38:14 +0400 Message-Id: <1251995894-29585-1-git-send-email-a.beregalov@gmail.com> X-Mailer: git-send-email 1.6.4.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2413 Lines: 77 Fix this build error: undefined reference to "__this_module" Signed-off-by: Alexander Beregalov --- drivers/staging/vt6655/Makefile | 2 +- drivers/staging/vt6655/device.h | 6 ------ drivers/staging/vt6656/Makefile | 2 +- drivers/staging/vt6656/device.h | 6 ------ 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/staging/vt6655/Makefile b/drivers/staging/vt6655/Makefile index 260c81d..7c7ee6b 100644 --- a/drivers/staging/vt6655/Makefile +++ b/drivers/staging/vt6655/Makefile @@ -1,5 +1,5 @@ # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -D__NO_VERSION__ +EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -D__NO_VERSION__ EXTRA_CFLAGS += -DHOSTAP vt6655-y += device_main.o \ diff --git a/drivers/staging/vt6655/device.h b/drivers/staging/vt6655/device.h index 54869c9..fa7f0fc 100644 --- a/drivers/staging/vt6655/device.h +++ b/drivers/staging/vt6655/device.h @@ -29,13 +29,7 @@ #ifndef __DEVICE_H__ #define __DEVICE_H__ -#ifdef MODULE -#ifdef MODVERSIONS -#include -#endif /* MODVERSIONS */ #include -#endif /* MODULE */ - #include #include #include diff --git a/drivers/staging/vt6656/Makefile b/drivers/staging/vt6656/Makefile index 4467bb1..10f7a28 100644 --- a/drivers/staging/vt6656/Makefile +++ b/drivers/staging/vt6656/Makefile @@ -1,5 +1,5 @@ # TODO: all of these should be removed -EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -D__NO_VERSION__ +EXTRA_CFLAGS += -DLINUX -D__KERNEL__ -DEXPORT_SYMTAB -D__NO_VERSION__ EXTRA_CFLAGS += -DHOSTAP vt6656-y += main_usb.o \ diff --git a/drivers/staging/vt6656/device.h b/drivers/staging/vt6656/device.h index 33df6e5..b02ca2d 100644 --- a/drivers/staging/vt6656/device.h +++ b/drivers/staging/vt6656/device.h @@ -29,13 +29,7 @@ #ifndef __DEVICE_H__ #define __DEVICE_H__ -#ifdef MODULE -#ifdef MODVERSIONS -#include -#endif /* MODVERSIONS */ #include -#endif /* MODULE */ - #include #include #include -- 1.6.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/