Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7076009ybi; Thu, 13 Jun 2019 09:09:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6u76dBPTQtTkfdKvBBRPhuteSY0nAfShR00imsCsV4S3uLaJz8ajA/zUtK3FbDzojJUPb X-Received: by 2002:a17:90a:8a91:: with SMTP id x17mr6376456pjn.95.1560442188024; Thu, 13 Jun 2019 09:09:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560442188; cv=none; d=google.com; s=arc-20160816; b=nG4dboAH7TlERPfKA5qC1kAXTyKPddzXij4cS37at+i9IV51kW7PPGXp0rYedlKToY AcRLdihaMKWxOCA4VtnDevMu4tIvAfZi5JhfKx7xDDbV9TprVsX1aAD/A6AMKUbhWGho 8HyjGD7HER/axa5/DUQ2/PJy9lvLuC/zU5yM1boKm6/OR7e1U92Afo0y3x9XUnECVnlJ vWBwWE6NbYgMMFIHlNk4nL8H+fBycbDhGUOD4mV/QniiyNfFBbb+mbG6cpWnx39JpjCl rYS8x968IM76q0e5SLXIqIQOnIA/1CFxotXNw+JRitTtj7Qp381Kwg2QggIGlF45dmb0 rkdg== 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=b98ws2ygpbHvnXXgV+kD1Vc7ZrKgBipjzrim1y1cwxI=; b=nqlY0wV/1NPhMzC67sEZ5sX5T9GqiWY9ZiHO+9LvsFWz2LVdrmB/hUBkcZU/ogOZbS p2CeB1AHIe3a5MYxEPQ/W6OlnQW//jYsHxkkbvOBzbmYMRiKROKvNj8HtZbWnKUlXa5M Rk0LBxzPjwCju03NCNPSVy/IntfVHSBQeTUHrHncMRqRreOLyFOf84UHVCLcsxZXaDLZ kwKJ+FdbL77qEMEkzzq2zocCP+7ubUlw1R7eQHzsMLOB9OyZitFfRE0lbQOV+t2E1k0M Z24+92mwbyQrah7yh8ubwvcIPa9k/FV6fdfKGpvUwCHyEDrw+xNaTytBb4d1kKNN1GBx Ioog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="UThQF/b7"; 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 e16si126878pgi.369.2019.06.13.09.09.32; Thu, 13 Jun 2019 09:09:48 -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="UThQF/b7"; 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 S2390981AbfFMQIR (ORCPT + 99 others); Thu, 13 Jun 2019 12:08:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:33952 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731288AbfFMIpL (ORCPT ); Thu, 13 Jun 2019 04:45:11 -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 C56062147A; Thu, 13 Jun 2019 08:45:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560415510; bh=V4eMEYHwbofiKkxkA3V3kHxUOdCXyPa4yfpH7qHKo4M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UThQF/b7ogduRaGa9FuPefYnzlH6VmGPW4QOKArAa3EHbPm4gi6imVh0OrlzKhaEA kADbsGKwT7tuUgvquo7mBPx4riZaZv93W3bdOizN8qg/Oo63Fii1HPWL4MSXvmUOgP qMyFVOQBBa75MqzKdIzN+XTam0hrl+/httQ1wKZ4= 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.1 027/155] mfd: tps65912-spi: Add missing of table registration Date: Thu, 13 Jun 2019 10:32:19 +0200 Message-Id: <20190613075654.385515381@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190613075652.691765927@linuxfoundation.org> References: <20190613075652.691765927@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 9e364e87ad7f2c636276c773d718cda29d62b741 ] MODULE_DEVICE_TABLE(of, should be called to complete DT OF mathing mechanism and register it. Before this patch: modinfo drivers/mfd/tps65912-spi.ko | grep alias alias: spi:tps65912 After this patch: modinfo drivers/mfd/tps65912-spi.ko | grep alias alias: of:N*T*Cti,tps65912C* alias: of:N*T*Cti,tps65912 alias: spi:tps65912 Reported-by: Javier Martinez Canillas Signed-off-by: Daniel Gomez Signed-off-by: Lee Jones Signed-off-by: Sasha Levin --- drivers/mfd/tps65912-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/tps65912-spi.c b/drivers/mfd/tps65912-spi.c index 3bd75061f777..f78be039e463 100644 --- a/drivers/mfd/tps65912-spi.c +++ b/drivers/mfd/tps65912-spi.c @@ -27,6 +27,7 @@ static const struct of_device_id tps65912_spi_of_match_table[] = { { .compatible = "ti,tps65912", }, { /* sentinel */ } }; +MODULE_DEVICE_TABLE(of, tps65912_spi_of_match_table); static int tps65912_spi_probe(struct spi_device *spi) { -- 2.20.1