From patchwork Fri Apr 26 17:58:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcel Holtmann X-Patchwork-Id: 2494571 Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 8DD7C3FD40 for ; Fri, 26 Apr 2013 17:58:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756727Ab3DZR6m (ORCPT ); Fri, 26 Apr 2013 13:58:42 -0400 Received: from senator.holtmann.net ([87.106.208.187]:59422 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756457Ab3DZR6k (ORCPT ); Fri, 26 Apr 2013 13:58:40 -0400 Received: from aeonflux.amr.corp.intel.com (S010620c9d099deff.vc.shawcable.net [24.84.124.211]) by mail.holtmann.org (Postfix) with ESMTPSA id BC0AF8B33C for ; Fri, 26 Apr 2013 19:58:38 +0200 (CEST) From: Marcel Holtmann To: linux-wireless@vger.kernel.org Subject: [PATCH] NFC: Add missing RFKILL dependency for Kconfig Date: Fri, 26 Apr 2013 10:58:34 -0700 Message-Id: <1366999114-26903-1-git-send-email-marcel@holtmann.org> X-Mailer: git-send-email 1.8.1.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Since the NFC subsystem gained RFKILL support, it needs to be able to build properly with whatever option for RFKILL has been selected. on i386: net/built-in.o: In function `nfc_unregister_device': (.text+0x6a36d): undefined reference to `rfkill_unregister' net/built-in.o: In function `nfc_unregister_device': (.text+0x6a378): undefined reference to `rfkill_destroy' net/built-in.o: In function `nfc_register_device': (.text+0x6a493): undefined reference to `rfkill_alloc' net/built-in.o: In function `nfc_register_device': (.text+0x6a4a4): undefined reference to `rfkill_register' net/built-in.o: In function `nfc_register_device': (.text+0x6a4b3): undefined reference to `rfkill_destroy' net/built-in.o: In function `nfc_dev_up': (.text+0x6a8e8): undefined reference to `rfkill_blocked' when CONFIG_RFKILL=m but NFC is builtin. Reported-by: Randy Dunlap Signed-off-by: Marcel Holtmann Acked-by: Randy Dunlap --- net/nfc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/net/nfc/Kconfig b/net/nfc/Kconfig index 60c3bbb..28afdb1 100644 --- a/net/nfc/Kconfig +++ b/net/nfc/Kconfig @@ -4,6 +4,7 @@ menuconfig NFC depends on NET + depends on RFKILL || !RFKILL tristate "NFC subsystem support" default n help