Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2641597ybk; Mon, 18 May 2020 04:27:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDtSjRfJivoPjd6NV11r06Obzy8YGuYYMZHAZn5Z4ngnOy8LIcD6uJ6JYc7ildjJLVKZuT X-Received: by 2002:a17:906:4d9a:: with SMTP id s26mr13979191eju.153.1589801265754; Mon, 18 May 2020 04:27:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589801265; cv=none; d=google.com; s=arc-20160816; b=kVP1Q4bsf64lPRoDoveuA2VnjqAUX5dnbRrQBN4eh3R/lPabazgi4i/DMMQCTXzLOY t1LKI3B57fxXvFFsVKBKMmvWrcpPn+zm6UDedP5tOpbcAHFDmTXhC3qtOin0j+mgbwi3 K+VCay9zt0KAEK9fYeGsGLrVQlVeoJAW1XUFd8+Jyg9xM641mCpkDg65QZSy5x5q0f1T l4ASz20Ug2lzFJCTx9a6dQ1AYstBfjUvjSKINYvALh8uy7Uu+y5U8WrOsCpkks0J4bqN vT+4Ic0/esq8TB+axx3VvNHWcBFtpaomlWSHEcz3nTAj3gi15autb/wxdg1Vmkr2WBdJ 3vdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=x1n7RaChAUzPNECEHRyp6u9VTopN+f5nbtpE0fDCMq8=; b=zYQxGVGKPB0UeUqbLqNZtrTzE1PHzGRNEHbZ2nWSGmcLt/pIMLrgByjU+GH6RsXzmk 2rzSHWhYRvPOlGlcvA9+Ndjxxvd8RlSW42WPfbHnUrZwMJ1jqsTkri/FnGnBq77qb2f4 xGpjtoW+H0UOul2l7y3FUhT3TshyPHy0ZxZyToIRNaEEvxGxbhD5xFFt+79J+WiyjT9L 0agpYVvDJqTsNDdlvSe62aWKkghmltwhUkGwMlcCO7xjTsdYE6kftM/PjknL/aDC/Mhy ibViErmO0g/1RacTevP2719LI6456ROBn7jUAmL4kXzFT2ifg1v2JaBg7ySOUBqIpcN2 5gJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXOh5fqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si5913062edi.440.2020.05.18.04.27.22; Mon, 18 May 2020 04:27:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TXOh5fqt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727012AbgERLX7 (ORCPT + 99 others); Mon, 18 May 2020 07:23:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726557AbgERLX7 (ORCPT ); Mon, 18 May 2020 07:23:59 -0400 Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 356F3C061A0C for ; Mon, 18 May 2020 04:23:58 -0700 (PDT) Received: by mail-vs1-xe43.google.com with SMTP id w65so2656069vsw.11 for ; Mon, 18 May 2020 04:23:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=x1n7RaChAUzPNECEHRyp6u9VTopN+f5nbtpE0fDCMq8=; b=TXOh5fqt3PzSdEkqn0gmbPL2Fj+wG1uYXctS7zM6yfukcZOz8CFBhPbK1oKwFKlltp mKxibjK1f1hC7WtOnvZjancHQf62eEcv1j1jQoM0Vzd4gVXEXC8B59GQfsgcm7LLIWyF rdtnRX3dV/9/KLa/TscU4NPCmm+H+LWuFNZAa6somGpH1mpeKDHcPcSU08NwNM7kl5Dg o6NpcSOcU1fsUUG2dRNjSEY299Bbq741lkVY3FC6ei0TihPLO/aMEaaaHkg9roq1MoX4 QQm23WpV8nf+wFMrzeGEfa4qYY0HW+YH042/VsTbjUJRXZCERrsoAGP1R8nn97c3dla2 Y/sg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x1n7RaChAUzPNECEHRyp6u9VTopN+f5nbtpE0fDCMq8=; b=piuTkMW7OLqkx7OqAgY0wgRO1YWcJozavdB+Hou5KfQVC8zn1dX0ug0F/DOOHlpVck lxQDny+ZZj7cu2d/TVvBun+yjTVLWtHhOF8waG+zniix3dcmy644FqhlKrRXBw/uRDjp qHiJ5nWAyiW61saLQ1zicd3RvaWlgRVPoFVa6H37VnRaLqVtJlzPYKiDNzhLXkRQJEEQ C7oJI1eekd6r5QccXk9b+ZpLtsXMXgJ4xqOhJlcF4rT/f4dMSFRUDCl5POnEvWc+Oxeb Fw2QqePtbLBGCicJarLeIIv0zeknou3VsaX3DEY80FP+N6+9oj3FtsmEksQVPqQId0pP qY4A== X-Gm-Message-State: AOAM532s/j/eFqzCtd6iwNUxP2tXpMirCHb6CajioRirwSDpD9vwJZUv iRE/tDZ4ZcNurxTmohkcWOJWDW+er28axLIR8CNA+A== X-Received: by 2002:a05:6102:82a:: with SMTP id k10mr2479811vsb.200.1589801037323; Mon, 18 May 2020 04:23:57 -0700 (PDT) MIME-Version: 1.0 References: <20200518060811.1499962-1-martin.blumenstingl@googlemail.com> In-Reply-To: <20200518060811.1499962-1-martin.blumenstingl@googlemail.com> From: Ulf Hansson Date: Mon, 18 May 2020 13:23:20 +0200 Message-ID: Subject: Re: [PATCH] mmc: host: meson-mx-sdhc: fix building with CONFIG_MMC_MESON_MX_SDHC=m To: Martin Blumenstingl Cc: "linux-mmc@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , Linux ARM , Linux Kernel Mailing List , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 May 2020 at 08:08, Martin Blumenstingl wrote: > > For an x86_64 allmodconfig build Stephen reports that building > meson-mx-sdhc-clkc.o warns that MODULE_LICENSE is missing and when > linking meson_mx_sdhc_register_clkc cannot be found. > > Compile the MMC controller driver together with the build-in clock > controller driver into one module rather than using two separate > modules to fix these issues. > > Fixes: 53ded1b676d199 ("mmc: host: meson-mx-sdhc: new driver for the Amlogic Meson SDHC host") > Reported-by: Stephen Rothwell > Signed-off-by: Martin Blumenstingl Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/Makefile | 3 ++- > drivers/mmc/host/{meson-mx-sdhc.c => meson-mx-sdhc-mmc.c} | 0 > 2 files changed, 2 insertions(+), 1 deletion(-) > rename drivers/mmc/host/{meson-mx-sdhc.c => meson-mx-sdhc-mmc.c} (100%) > > diff --git a/drivers/mmc/host/Makefile b/drivers/mmc/host/Makefile > index 8bcb420e071c..8f459259181e 100644 > --- a/drivers/mmc/host/Makefile > +++ b/drivers/mmc/host/Makefile > @@ -68,7 +68,8 @@ obj-$(CONFIG_MMC_VUB300) += vub300.o > obj-$(CONFIG_MMC_USHC) += ushc.o > obj-$(CONFIG_MMC_WMT) += wmt-sdmmc.o > obj-$(CONFIG_MMC_MESON_GX) += meson-gx-mmc.o > -obj-$(CONFIG_MMC_MESON_MX_SDHC) += meson-mx-sdhc-clkc.o meson-mx-sdhc.o > +meson-mx-sdhc-objs := meson-mx-sdhc-clkc.o meson-mx-sdhc-mmc.o > +obj-$(CONFIG_MMC_MESON_MX_SDHC) += meson-mx-sdhc.o > obj-$(CONFIG_MMC_MESON_MX_SDIO) += meson-mx-sdio.o > obj-$(CONFIG_MMC_MOXART) += moxart-mmc.o > obj-$(CONFIG_MMC_SUNXI) += sunxi-mmc.o > diff --git a/drivers/mmc/host/meson-mx-sdhc.c b/drivers/mmc/host/meson-mx-sdhc-mmc.c > similarity index 100% > rename from drivers/mmc/host/meson-mx-sdhc.c > rename to drivers/mmc/host/meson-mx-sdhc-mmc.c > -- > 2.26.2 >