Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp10521417ybi; Thu, 25 Jul 2019 00:49:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqyOy5YcGfzCaLOGKwBL3pqkQTTP+IZl4vM1hrQdWSSk2Pam0lYvPTJAO26SBV80HLln8LLl X-Received: by 2002:a17:90b:d8b:: with SMTP id bg11mr91552338pjb.30.1564040988903; Thu, 25 Jul 2019 00:49:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564040988; cv=none; d=google.com; s=arc-20160816; b=P06l6rQkO5T5b+qRA1VBm7mwb/pBvrJiWfn1wl7sqKXdHCjhipWvKZU95P7moRFqam ofhBOAglVLCMt4sfCmIwkiLhLnnI+vmXo94D1xju6szwOLWh7l4eJDNSSELITDwe6Azd JOHeEVUI1RdtYnpxgwIjKzWmEUcwvzYnVdC/Mwip31kvHPNP/ZESlfDyoyjY/gXTf+do Rew2VHBzdSM8qJ/7U4KcX0o9FIEPHJN2jJV9fevXqPl+bjOTwO85FAbBvcpcRnggoXGQ WYFvC/wcxvqmmmFgR5nO5d/wFT30zIoZ+z49OUQz+toe8op8kcQOZDSgAQJxdxs3QWyc o90w== 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=/8UB0mIhtWQuXzgk3E6KwvnMIlcqPRnwBLoOIfEb+bM=; b=M/5WkXdQlAWreocV2qcY40YGWWR+jiRa6/zu3jeg5dnalxb1NesdnrsntPsiO6xiNP 0vYFwLDQolB+PxkD6ofsELl+pQV7P6JXIo8kE3YuWaqGg4ahEslPW8sWGcDKwvJqlQBh ZMbQ7MnEjQbO//43skfHUrrc1N2HUZxRMrMOZCGPx+bkzAsgr6M+DF1uj2G5G9VmvFb6 PESu+xt9s8grFcXJ9klQpDcFjb9KLwYdefivMT3nGrBv7cU2D4ywUsMMgQmO0YtbwJYJ uWwH/HuSmKPIgS2CYAA/U+OtXbxvT3Dllm/5I/lDApy4ZZukaBhlPIoQT6WpTMhN72Z+ eelg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ilyGfFNt; 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 f3si14146140plr.187.2019.07.25.00.49.30; Thu, 25 Jul 2019 00:49: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=ilyGfFNt; 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 S2392304AbfGXUBm (ORCPT + 99 others); Wed, 24 Jul 2019 16:01:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:50746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392295AbfGXUBk (ORCPT ); Wed, 24 Jul 2019 16:01:40 -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 0BD8F205C9; Wed, 24 Jul 2019 20:01:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563998500; bh=E06qOU/TbsjBXHsCMeVvt2IuRjYwXwW1DtBuGYA5hP0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ilyGfFNtFyC+y8KsL/iuk2ue9tnDaKeEGL7Kc1fI2IxGhKU06nNJnolwAzSdlCMyZ m2PZjLLMNNqF4uZA//oJpdi0528yqaoqRKSi4qVSWB03QLz5myXoOQ7ZScp9/tdPF3 +ZbyoFuCxsEdcfu8hQeslt6G36DrUs2henMfQMcw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Javier Martinez Canillas , Daniel Gomez , Sean Young , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 4.19 016/271] media: spi: IR LED: add missing of table registration Date: Wed, 24 Jul 2019 21:18:05 +0200 Message-Id: <20190724191656.642644086@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190724191655.268628197@linuxfoundation.org> References: <20190724191655.268628197@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 24e4cf770371df6ad49ed873f21618d9878f64c8 ] MODULE_DEVICE_TABLE(of, should be called to complete DT OF mathing mechanism and register it. Before this patch: modinfo drivers/media/rc/ir-spi.ko | grep alias After this patch: modinfo drivers/media/rc/ir-spi.ko | grep alias alias: of:N*T*Cir-spi-ledC* alias: of:N*T*Cir-spi-led Reported-by: Javier Martinez Canillas Signed-off-by: Daniel Gomez Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/rc/ir-spi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c index 66334e8d63ba..c58f2d38a458 100644 --- a/drivers/media/rc/ir-spi.c +++ b/drivers/media/rc/ir-spi.c @@ -161,6 +161,7 @@ static const struct of_device_id ir_spi_of_match[] = { { .compatible = "ir-spi-led" }, {}, }; +MODULE_DEVICE_TABLE(of, ir_spi_of_match); static struct spi_driver ir_spi_driver = { .probe = ir_spi_probe, -- 2.20.1