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=-8.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable 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 B2E76C48BE3 for ; Thu, 20 Jun 2019 18:03:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 89B4F215EA for ; Thu, 20 Jun 2019 18:03:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561053833; bh=BPA2MM4cB1nBEioHU50f6n56DuiwxF+so9xsPoBiYX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=aK1fKRQT/kIWmDMegEC957pr/ItxMIRDy+IQ0t3eFEt2oD57+4RPUBNUPRjyNEaSx LWgJToYroDfyppVrP9/gmLLkvwaRc+lC6TPdVtdbnFygwxxZPbL0wX5xIIk4LpXNyH swsyCwmBU6wbvVuyylO49rcOgV9JU4FWTBAecTg8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727739AbfFTSDw (ORCPT ); Thu, 20 Jun 2019 14:03:52 -0400 Received: from mail.kernel.org ([198.145.29.99]:55438 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727729AbfFTSDs (ORCPT ); Thu, 20 Jun 2019 14:03:48 -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 3EDF021479; Thu, 20 Jun 2019 18:03:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561053827; bh=BPA2MM4cB1nBEioHU50f6n56DuiwxF+so9xsPoBiYX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MMVdhmyY7ECh0cxLDOISV2uMC7+5V2BIkV+wXNn8cBoFPS/1sWplGXyL69lFYxuaZ e6SLzmkQoFiOELkEtOrdoyuR3yQLA+/YNvfgK1CIoIPSixEx3vwgeFk8UmzTXjxxPB grdOz5rzQUGH11kFzypojvi+9CXkiaqSDtoOJEKo= 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.9 013/117] mfd: tps65912-spi: Add missing of table registration Date: Thu, 20 Jun 2019 19:55:47 +0200 Message-Id: <20190620174352.777012926@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190620174351.964339809@linuxfoundation.org> References: <20190620174351.964339809@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 4aeba9b6942a..ec37cfe32ca3 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