Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3783623ybi; Mon, 29 Jul 2019 12:32:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzwCo0AlQvsFplgUCpKN2bQilc8jY5LskacJ6ldN6W1vzwRJKrw+MO0I0l0y7LSXen4vpoS X-Received: by 2002:a65:6401:: with SMTP id a1mr106008374pgv.42.1564428773895; Mon, 29 Jul 2019 12:32:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564428773; cv=none; d=google.com; s=arc-20160816; b=GHuMlN3Rst1OKxfR1HQNdBtIxHxMzyCTB2E7GWJM4h4QJEoVmTmqjbUThqxJtWP5W9 YcsWVsZBaalEjY2UySHtCZxjRZB7s0KwhTEBPzwc7d7mdPMdjalBXNU70uAYTdngGNaK ZoFAISz80VmBYPNJVr61Ypk1JHaJrHqDsER2TKU0iniHwT0apQ9b/QQg5+Cwq3aqN6lv Ub0gufb4BQ/jVpLDmKrG5kj4yEhhSajyVxIHXfL0ZnqD4p9uxTLc6citMxMhtNuwRHRE I6Wm6q+5cS3l1z/DGGxE1RfPwlPqKUWfHIzNZyBj+POCDZZysIkrJL/gNF/3LwofuBlR Nu+Q== 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=xTw+vDOd175SqmnjbU3voHcltuF7iocPZjq8wTedT5w=; b=XZLAM/KiuVAGUgAeEqmGMplXGEpYXY9u+I4YE2zlNClNkQhOiHWKBxdgsY6F0oO+5Z DgMkWPN3Dl8rR96NrNcLyuetHDFtKSGKTHgFT3dGz0/cVr8gQrjwIpSOe9T9akClsrnJ OvYlGh4rFOyIM5uPZDDBxtroiJnRPgdvzzFdemDZ2TbOVPSUEY0IombMMakOsvFl1keo defoxVnEXh/LheLK54i5bpaZ2P0xy7QYOeAQPo95H/xONUkAjMX3FUE2AzcrRsC3RqI7 0oHPc8Mzws0zvFeceTeG7srIFiLwmx6PDDDev5rKbsHeUDIbU8jBrs4q/1HwUtEsejdl Rzcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YZxMNI1m; 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 68si24572349ple.89.2019.07.29.12.32.39; Mon, 29 Jul 2019 12:32:53 -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=YZxMNI1m; 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 S1729414AbfG2TYC (ORCPT + 99 others); Mon, 29 Jul 2019 15:24:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:36148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387625AbfG2TX6 (ORCPT ); Mon, 29 Jul 2019 15:23:58 -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 238AC2070B; Mon, 29 Jul 2019 19:23:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1564428237; bh=kMmzr2ux/l3pDskn94/jCcYtDhm3KnsRv0aJdYJLJDw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YZxMNI1m9rtwv5jLzig+Ns7eZz4+u7rn4XeOln0QnIek/bta2DM2Tfv8lerX7pQ+4 bN5s3wrVr+9Y7Wcw9WxDez0nO9y4YHMpYbmbuT1GmfpBKvBbLO18cEc/hlY5lMHJTS Syw+xB9ZBYRRLSiZoveAHwbXM/Rjk8E8iL3weKxE= 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.14 013/293] media: spi: IR LED: add missing of table registration Date: Mon, 29 Jul 2019 21:18:24 +0200 Message-Id: <20190729190821.395392549@linuxfoundation.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190729190820.321094988@linuxfoundation.org> References: <20190729190820.321094988@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 29ed0638cb74..cbe585f95715 100644 --- a/drivers/media/rc/ir-spi.c +++ b/drivers/media/rc/ir-spi.c @@ -186,6 +186,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