Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4106956ybi; Mon, 29 Jul 2019 19:24:19 -0700 (PDT) X-Google-Smtp-Source: APXvYqysvYrc4hLV2GZgTHuFguUZ/f5cwrQYrE5xYaCsKfg8NAPecnbYmqu6hA3/FAYtrb1nJ7Jk X-Received: by 2002:a17:902:8205:: with SMTP id x5mr114700651pln.279.1564453459467; Mon, 29 Jul 2019 19:24:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564453459; cv=none; d=google.com; s=arc-20160816; b=ohk3HYw2Q7diYC73oWlF0Klyl5XNSKa2NbmtJ/zR+qImHd8VcvMrTdq/6wG9HYLBtA 888fadJR3c7xBDs+YGtm19kOn5CZwh2vMjQoBlctJCjN1fWjEyz1bmAcmVrY19QS7XB1 Se/7kzwFUxErOJbMw5HR227K1tQjeNWtlg6Kudd/5fyVspz6DDGl2oDY40Y26CUK1o1k jGWDhn7lEZp63+gShESR/efc6PVzqfKYqbPcNeBcOjNmNalM8A/cOs2rr1jGORzK8I7v aL1co8ULZ0EWwX9fx4RvT6+2T/Jlqckw7SVP37Ni3akzNxkR7aYRfI8pV1/y6jJIYo1g NhDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=o5uA7PaCXQqEJyu4bbz1c2vauc+dO6mrrxCXTLZ+e7k=; b=fH8T2gAtA3N2qIN0jyo7v5Zb3Lh/2aAzE/iLiGmpD5bOIS6V7Lu3m9sK1I+iZkWbby Dp8YhPq/FmjTD48hKuAyRY2ocMC9HWX6h0RxWxqyEseH8nDW7CyFgKRD59air4dQkz9p 0EUzHnJ7Josu8TDNRQWTztxEYIWSLULhETbd62l38vuFypAhRbQ0kLb/RE5OIIQu/m6W BlfoMUghVZAAAjkoHU0R0nIitpuXt1cz8r6f1Twx5aHD5UNU7D0282bYa5wbnNEnioI0 Rkx9lqoH9vF88J5tJmxXF6fD9qjDoeBb1vAJ4VL2J/nHR7p41e+8xMJPdN8m1jqR4u8y DxwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1tvDAnBa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b7si29636309pfp.4.2019.07.29.19.24.03; Mon, 29 Jul 2019 19:24:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=1tvDAnBa; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389279AbfG2TlX (ORCPT + 99 others); Mon, 29 Jul 2019 15:41:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:56706 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389354AbfG2TlS (ORCPT ); Mon, 29 Jul 2019 15:41:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3AD9C206DD; Mon, 29 Jul 2019 19:41:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564429277; bh=gMtJx6n2k6Cgtgh0FR7msq+MIrOSZmtui9BJYIUlbLk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1tvDAnBaDj3l9iL1DymS3OfYvbq285SjanDHnVn19pCJ0AVj4dU56dNdOZ6TWNu5+ vjfIIO0AFwoLLH2MRu6w1GNRd9KzFud/1hX2uz5qfaJgKtNieiiKggJFPHG7KBY7k4 On3/HBUHNmgerYIvzUGZBjOCbt4+LZLuZb5h6W3A= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Javier Martinez Canillas , Daniel Gomez , Lee Jones , Sasha Levin Subject: [PATCH 4.19 048/113] mfd: madera: Add missing of table registration Date: Mon, 29 Jul 2019 21:22:15 +0200 Message-Id: <20190729190707.024661411@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190655.455345569@linuxfoundation.org> References: <20190729190655.455345569@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit 5aa3709c0a5c026735b0ddd4ec80810a23d65f5b ] MODULE_DEVICE_TABLE(of, ) should be called to complete DT OF mathing mechanism and register it. Before this patch: modinfo ./drivers/mfd/madera.ko | grep alias After this patch: modinfo ./drivers/mfd/madera.ko | grep alias alias: of:N*T*Ccirrus,wm1840C* alias: of:N*T*Ccirrus,wm1840 alias: of:N*T*Ccirrus,cs47l91C* alias: of:N*T*Ccirrus,cs47l91 alias: of:N*T*Ccirrus,cs47l90C* alias: of:N*T*Ccirrus,cs47l90 alias: of:N*T*Ccirrus,cs47l85C* alias: of:N*T*Ccirrus,cs47l85 alias: of:N*T*Ccirrus,cs47l35C* alias: of:N*T*Ccirrus,cs47l35 Reported-by: Javier Martinez Canillas Signed-off-by: Daniel Gomez Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/mfd/madera-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/madera-core.c b/drivers/mfd/madera-core.c index 8cfea969b060..45c7d8b97349 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -278,6 +278,7 @@ const struct of_device_id madera_of_match[] = { { .compatible = "cirrus,wm1840", .data = (void *)WM1840 }, {} }; +MODULE_DEVICE_TABLE(of, madera_of_match); EXPORT_SYMBOL_GPL(madera_of_match); static int madera_get_reset_gpio(struct madera *madera) -- 2.20.1