Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3071485yba; Sat, 11 May 2019 03:06:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzeyiiR0Tp5QNj5sXaKjAVEYCeIfHGBv/NhBu/3d/CjL20PF/J1UREw2K4+0uxAh/nLWQCS X-Received: by 2002:a63:e645:: with SMTP id p5mr19614451pgj.4.1557569203431; Sat, 11 May 2019 03:06:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557569203; cv=none; d=google.com; s=arc-20160816; b=C/aoo3+f5+F8k/ezNYIvN7rlvyieZgnyJJmrTukvgR/pDSdhpNdlmHZEQvDCKwtOCn oFBoGPP/x1TuYp0CXHRHQtSVJRZ1FDh0W/E3GBcdxqVDcSSTxAIFbs++ue7do0RKmTeb 2O9xBSmnnkCmXckpYWUl8sJg5AnvoUT6vrT5DpzTdoTz3oML9PbzyxGpBEZBMQO8dXdt Nn38UYB1MHvcbimADAruMHQxp0G0vhlKNwX5/rpKOwAu3Hgqyb2wFFRJj019UAN7K0+Q rNCczV28CVRN224ZbztrS4JNDS2z5+5+z+51uy4MnKvc7iL6CiyFYFbTeXi/EeT6ljcb p+Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=S1pzAmLNYPAdy00NLo0+swPi8ZueHy7n/ZkntsATcVI=; b=QnqIv8BWSkPA5rkigtftsQI6BoEvrPsDM9cpllpikiHK3bu6r7sZ8eKFREfrkqbG3q +z8xL0JA/15mF6Oe8/fEomTI3+mNaompaO2M8d7zRjJE7Z20Ddb7DNsf+79SsYqF+nhL WO5k+FrTfjMtLRGqWnXhZZRQc/OMbbew5K1afdNtZXCIDJh8Af/Wtdy394Dk52Drf3El eBPqrow14KvBakOL2zuwnrJNGGqI5iccZDBebzWdW1lhFBZKpV5h2QWPrqEMBrvsUWa9 UXQUjXH3Bk7T0v9wqILzCjikJ/+s8pdO3RjQiI82K+gQnUQtVJyufd8bGLu/NjMtYV8z 5ckQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=klfVSy6E; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r71si11819887pfa.183.2019.05.11.03.06.25; Sat, 11 May 2019 03:06:43 -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=@gmail.com header.s=20161025 header.b=klfVSy6E; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728492AbfEKKFU (ORCPT + 99 others); Sat, 11 May 2019 06:05:20 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:33242 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725987AbfEKKFU (ORCPT ); Sat, 11 May 2019 06:05:20 -0400 Received: by mail-lf1-f67.google.com with SMTP id x132so5847242lfd.0 for ; Sat, 11 May 2019 03:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=S1pzAmLNYPAdy00NLo0+swPi8ZueHy7n/ZkntsATcVI=; b=klfVSy6EuBXbSF6HXaXcZqpKz9ArrgWbJLcJ/kiA+mUkTEmlnelyUiy+Ebc8lRDVF4 oJFOI2e031uG3NFEcMEKQqN7RykJoZr2Llk7h7G65PZNEGmsh50YH7h+bzjhfEYbSESC L+zVmygnc8g3W/7S2XAwH5H3NBVSp5uYLPqvSMeBGMLSky47UaopILOd5R36IHeFeZpq nYoUOj9cC8O3UbSbyjDMpe7ul4TuR40bYud8BzpaAuD+3LBBYEHVWpGE4Ae+6jFRvtA4 oIQzEYlOSNZngzIbq0rGpZIisbJeWT0Y+EKhxc5r94Q13Xb8OoilJeC1ngbfLKyom8Le wUIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=S1pzAmLNYPAdy00NLo0+swPi8ZueHy7n/ZkntsATcVI=; b=J1Qm6fJ/tmC4AKXWXuFD0l9cTkZl6iAd2M4fljvLnOgU8X1SUIFoB+YDUpztMl4bPx JXuc+AxlrCUfvNC/6dvgEs9XWMjsjz2JIXfi+JIiRcQBGZBGxM5oTcxheSJzuwNYPR4c ZqmXCiQL6B6qU1JvzxSgYCIkhWDZxBEDK2ScxFZJl1GkPqEpKGFo9z12plQpXmxAsvIk O5OQsD666KFnUwgRpv7I7prMqaddRdI6N9heaWL5wBUrSS40QdxWXCQuD9C4Fp4dliNx N3WX5R7RmKkKsBwCCKINEd1wXKadr0BQRhyuEmsrRpeqwHadpSL/1CzW4eeAVLZmYUGZ P6qw== X-Gm-Message-State: APjAAAVTaF6eDqWWfs+ZsuG+cIUWvgOKPJI9nHnECMuY6KfGnSkKrBTy UeSS2Lxk7ae3c7B5LwOP4MA= X-Received: by 2002:a19:e002:: with SMTP id x2mr9047896lfg.16.1557569118133; Sat, 11 May 2019 03:05:18 -0700 (PDT) Received: from localhost.localdomain (80-167-223-88-cable.dk.customer.tdc.net. [80.167.223.88]) by smtp.gmail.com with ESMTPSA id v1sm2196313lfa.93.2019.05.11.03.05.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 11 May 2019 03:05:17 -0700 (PDT) From: Daniel Gomez To: Charles Keepax , Richard Fitzgerald , Lee Jones , alsa-devel@alsa-project.org (moderated list:CIRRUS LOGIC MADERA CODEC DRIVERS), patches@opensource.cirrus.com (open list:CIRRUS LOGIC MADERA CODEC DRIVERS), linux-kernel@vger.kernel.org (open list) Cc: dagmcr@gmail.com, javier@dowhile0.org, alsa-devel@alsa-project.org (moderated list:CIRRUS LOGIC MADERA CODEC DRIVERS), patches@opensource.cirrus.com (open list:CIRRUS LOGIC MADERA CODEC DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v2] mfd: madera: Add missing of table registration Date: Sat, 11 May 2019 12:03:58 +0200 Message-Id: <1557569038-20340-1-git-send-email-dagmcr@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 2a77988..826b971 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.7.4