From patchwork Tue Apr 29 09:45:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 4086261 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 094AEBFF02 for ; Tue, 29 Apr 2014 09:46:18 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 377BD201D3 for ; Tue, 29 Apr 2014 09:46:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 59A1A201F5 for ; Tue, 29 Apr 2014 09:46:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933000AbaD2JqO (ORCPT ); Tue, 29 Apr 2014 05:46:14 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:63650 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753225AbaD2JqN (ORCPT ); Tue, 29 Apr 2014 05:46:13 -0400 Received: from wuerfel.localnet (HSI-KBW-134-3-133-35.hsi14.kabel-badenwuerttemberg.de [134.3.133.35]) by mrelayeu.kundenserver.de (node=mreue101) with ESMTP (Nemesis) id 0MKJHi-1WdQBN430Q-001kzh; Tue, 29 Apr 2014 11:46:00 +0200 From: Arnd Bergmann To: micky_ching@realsil.com.cn Cc: chris@printf.net, ulf.hansson@linaro.org, lee.jones@linaro.org, sameo@linux.intel.com, gregkh@linuxfoundation.org, dan.carpenter@oracle.com, devel@linuxdriverproject.org, linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, rogerable@realtek.com, wei_wang@realsil.com.cn Subject: [PATCH] mmc: rtsx: usb backend needs LED support Date: Tue, 29 Apr 2014 11:45:59 +0200 Message-ID: <7208467.nZIXMIfPji@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.11.0-18-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 X-Provags-ID: V02:K0:aPgRi+NySk7AI7kRDLdfyVMWwvGIIu1pINuJOi7cUX0 buEaIUd4NaADW6k04LWLYynHkfyablCA7iSfuATL48nI3ovY4T iBdU+0csRdx0JZBSWxwfRI1OVuCAzoZsVQ3kz/VHeTA8azJJu8 P1C+NOTt4e5pBWAP/AUNezCtTauMS7GrlZ7nc3P/KVaX+kt18Q hsAVQcVzyl3Rr0xSUQ+35bA5vdakIfG4BrlwTjqOaJ/pf7JWQi khngJVR2IceC0KJS6JDf1e6Cvo0hs/L2zAMv5mbH2y3b5WiuvQ ty3S9PS0UQQwnM4IZiN9Wp2ka/1oMvAvNz+E6jz8AHQCW7lWrk ypzT92UPzDB8VUjQonkM= Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP [hijacking the thread since it has the right Cc list already, sorry] I stumbled over this doing randconfig builds on linux-next 8<---------- From c11f54f1e5ea0557e076867ca31c90bcb20e3e0c Mon Sep 17 00:00:00 2001 From: Arnd Bergmann Date: Tue, 29 Apr 2014 11:41:40 +0200 Subject: [PATCH] mmc: rtsx: usb backend needs LED support Building the rtsx USB driver requires the LED classdev base support, otherwise we get this build error: drivers/built-in.o: In function `rtsx_usb_sdmmc_drv_remove': :(.text+0x806480): undefined reference to `led_classdev_unregister' drivers/built-in.o: In function `rtsx_usb_sdmmc_drv_probe': :(.text+0x806708): undefined reference to `led_classdev_register' This adds an explicit dependency in Kconfig Signed-off-by: Arnd Bergmann --- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 92d91fe..66aedf3 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig @@ -696,6 +696,7 @@ config MMC_REALTEK_PCI config MMC_REALTEK_USB tristate "Realtek USB SD/MMC Card Interface Driver" depends on MFD_RTSX_USB + depends on LEDS_CLASS help Say Y here to include driver code to support SD/MMC card interface of Realtek RTS5129/39 series card reader