Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3100419ybi; Thu, 18 Jul 2019 21:02:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyuOiQMlZPX7hcvI1d5m/hRNOSdOIVQ+XAiBgZtB4r7ezbNL3qrPgDn6TDDZFAZICo/0wye X-Received: by 2002:a63:7245:: with SMTP id c5mr37434285pgn.11.1563508950860; Thu, 18 Jul 2019 21:02:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563508950; cv=none; d=google.com; s=arc-20160816; b=oT+Dw5z2jxEi0ei83hu51PDsRlo8Ot9zS4rShf+hHCry5qInjrhA/s/97LeHoeBvpN StI5QsiA62+pBIVT05ARjoGJyilFdin9gFuMmIY8uD6TdXe9N4r8RohbMhTLC1kxPxL+ q5ERwDLL6s8LlZHd1k0OJGauzhI7cZXpvUbNbiYJPZ59JAqY5jPzVt9/W1BrtC/IYCrp d4iFIgqf0INZoU1a38Ml1924WJqc1gjolCLbZwmMt7WSk8Km9g7gVLUk/r9YcS0vgxgM 7G9n3xHNKiNrzMgNRybW6C4QiDyCV0pAzGaWlnbFfrbLyqojNodVdo4RYrmcUEXLyi/a 4DBQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3hkSnBbFyysjxJTmZM5GSWWbT5EMDHcX5Qhi/dUfj44=; b=rLt3BsuzmbhMfDqtMsoL5l8EfCiCdnCEXjQu55PCb+S/S2pZ73cwEuJ+2568XPsIyc f4rJUdbh0LJshunkpBeuz4YDd5PDGIDlr9ovOz/3B9bO5+Mf68sLt6AaKBndC0VXs4G/ 0Rt6xfMGWBhlre5QVbE4Oty+Wn9MYjC55wrFaIAShTt4TldTZvtfi/FG2b5I8548xiux +m3kb8YAmMT+55l7G+EPc7iIR8evTEStUdWAFKebSw5W6AH22SJMDzkQig+jo2DtKXIh f/wqgmRTPFDGjGlLP8P9eHv1qPI7YrJiZSrz03IVolNu6Ob7WI9CgRqFzjdj2zmiWENQ 4Xcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YESR5Hcp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q2si316429plh.59.2019.07.18.21.02.16; Thu, 18 Jul 2019 21:02:30 -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=YESR5Hcp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727176AbfGSEAJ (ORCPT + 99 others); Fri, 19 Jul 2019 00:00:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:59928 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726442AbfGSEAE (ORCPT ); Fri, 19 Jul 2019 00:00:04 -0400 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DCCF4218A3; Fri, 19 Jul 2019 04:00:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563508803; bh=hO0BYjKuzESqnP+z7jG/uEiXsaMKPUk3qsNkPddSo9U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YESR5HcpTGfkS731jxPGBfcxqETAtXl4ZC7TC8BQoXDOS7HsT7uhRZk34Uukx2VSD nZxRtGbmD9nETFQZcPwyhveQwA6ozvbm2jLBVdkN+OtnxIbWUaVnS39pdtAApooB5P PyIQTIyJeoQzdKKyw4X519Zos3nZEpWjleNy9VW4= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Daniel Gomez , Javier Martinez Canillas , Lee Jones , Sasha Levin , patches@opensource.cirrus.com Subject: [PATCH AUTOSEL 5.2 098/171] mfd: madera: Add missing of table registration Date: Thu, 18 Jul 2019 23:55:29 -0400 Message-Id: <20190719035643.14300-98-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190719035643.14300-1-sashal@kernel.org> References: <20190719035643.14300-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Daniel Gomez [ 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