From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E13B6C28CC1 for ; Sat, 1 Jun 2019 13:32:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE0592493E for ; Sat, 1 Jun 2019 13:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559395965; bh=Bs9RtnXv9ExoJSY21Z8CUy5JM3I/xX3Uatg2H9xJlQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=LCXvaHTyFxTEJ3OYzfbvega6hKutHRGJC0s5wCl18xkKVBjEUt3v9y5Kt9HZgzTzr ifxZR6we1nZ5rmSKIulJ7sDUmLoIPf2AioWsyzuzZoQEeEs/GbSEgyc8s/uf7T10Mn Rc6H38FoucL8SvVQqpDCfIFG0Qt2bcoFDNUJcKHM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729514AbfFANcp (ORCPT ); Sat, 1 Jun 2019 09:32:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:55912 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729498AbfFANZe (ORCPT ); Sat, 1 Jun 2019 09:25:34 -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 2134A273AC; Sat, 1 Jun 2019 13:25:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559395533; bh=Bs9RtnXv9ExoJSY21Z8CUy5JM3I/xX3Uatg2H9xJlQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lDxzx5OQL9sqlb+cmRG7vGnVfUVcN7fBzAnaddKiM0ICor8cgupWhXCFZzteGxrTG G+9LHLwB2vEN/lUHU/1PKVl2bhzRIMLtcFE3RoQacMv+4qBFp0bf1puk4+NMTfuur6 Y4u6EjzLHTaupgaHRH1FhZan17RJZGxzYiG5Av+I= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Daniel Gomez , Javier Martinez Canillas , Lee Jones , Sasha Levin Subject: [PATCH AUTOSEL 4.9 13/74] mfd: tps65912-spi: Add missing of table registration Date: Sat, 1 Jun 2019 09:24:00 -0400 Message-Id: <20190601132501.27021-13-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190601132501.27021-1-sashal@kernel.org> References: <20190601132501.27021-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 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 4aeba9b6942a7..ec37cfe32ca32 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