Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3798836ybi; Mon, 29 Jul 2019 12:51:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwaqhtbENp7Fgf16v2VRlVC2tXb7o3qOYz0m3q8lHGH63OHmkybhPwxu6FVjk/MJOgm5UL4 X-Received: by 2002:a63:d30f:: with SMTP id b15mr104730851pgg.341.1564429875579; Mon, 29 Jul 2019 12:51:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564429875; cv=none; d=google.com; s=arc-20160816; b=kUz1b7h+Xv0A/ycQs1ePWKsm6wFuybqy77W69cSBmRhUuPUW8NIsls1F1GbtnkUTzE 4g48MWRl6eQwNXGlqv7p7XmZ2h8e6H3SSvCCxWMw0zjq2B3U8PqZ0ar2ZPSPWLcRiRI1 OXdtCn8l2U8K3aElL1pvsk07yr222I5W9ONI+TnwsHcXMD7di/C7W7/QpC/W5PkckX7h Fc3dDfB3F9whKSfUPU+VKlcEfV+Fh8uocYK40/6Q0W5iNK2GtTcTSZs/mVaKgo26ZMIx iybdovntCRunSOZ5Oc4/hsioYRbwoE60wZBoDXdX6vGuCzcnVx2bYX0QdWLWJuHTW4gY XjuQ== 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=qLQOf6UR7/o0+qMwXVmdeuO8HPSVZq0ltPJQ/osIut4=; b=0b6yrx6QEpnQ7SysZVxXDip+PbU7iice56GLc7m2PjBJEkMaeuUWasv5nD869mqg1P WpX4mN5edDhMwaj1NbuyEHETmfRYDAI4L1vm2mDCexG5jsGVw8O/bI9EEZPJh+LtFrVO XlYFtuFshmvczsGTUiKwOp85wh5YlDnyBY816dNb5clOp6+8Y3T2rE/TjIPUaCDCYdG9 hg7Oz0uKV0v0JnDNmBYAfm6uqhU9COP1a9XHye2Uby7WPE+zjDGFZfHWuhmNQsyXxGdZ +2h6dYoLpwGOiGE+yARrlRFZkzrUsutd10cANlbzg3tpZKYSByHWkY6Zsk+haZCyk1YN bRmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="elDc/BnB"; 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 m128si26434631pfm.97.2019.07.29.12.51.00; Mon, 29 Jul 2019 12:51:15 -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="elDc/BnB"; 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 S2390225AbfG2Ttv (ORCPT + 99 others); Mon, 29 Jul 2019 15:49:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:40566 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389840AbfG2Ttu (ORCPT ); Mon, 29 Jul 2019 15:49:50 -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 71BD221655; Mon, 29 Jul 2019 19:49:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564429788; bh=1Np7r3LAsxti73689pvspT3FnyQs5zyBYCe9YqO5YqI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=elDc/BnBuLKQ47e//BXXnO5wfThU3U65rt8LvPDc2XvNxS2UArP7IfDZpMLwaLRlZ 44jHJx2xslkLzunPDKCAsBxfiEDIoC7+WsUG2wdt8fsn3j0giP8xstIb23cdu7ro3+ grLU5Cg0rjehDbyHTE98FcaNcBojELgd5tst5qPo= 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 5.2 096/215] mfd: madera: Add missing of table registration Date: Mon, 29 Jul 2019 21:21:32 +0200 Message-Id: <20190729190755.827160052@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190739.971253303@linuxfoundation.org> References: <20190729190739.971253303@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 2a77988d0462..826b971ccb86 100644 --- a/drivers/mfd/madera-core.c +++ b/drivers/mfd/madera-core.c @@ -286,6 +286,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