From patchwork Mon Feb 22 01:26:34 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Emilio_L=C3=B3pez?= X-Patchwork-Id: 8369941 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A96B7C0553 for ; Mon, 22 Feb 2016 01:31:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 742642038D for ; Mon, 22 Feb 2016 01:31:19 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 83BC92020F for ; Mon, 22 Feb 2016 01:31:18 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXfHn-0002W4-9B; Mon, 22 Feb 2016 01:27:39 +0000 Received: from yotta.elopez.com.ar ([2a02:2ca0:aaa:d00d:c0de:4:f00d:cafe]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aXfHj-0002T7-Iy for linux-arm-kernel@lists.infradead.org; Mon, 22 Feb 2016 01:27:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=elopez.com.ar; s=mail; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-Id:Date:Subject:Cc:To:From; bh=MAJzU4zZ86kfhTk0mAtY1eZdPFN05tHJOKtFs/t9sH0=; b=bu6tG3ZwD5gRB6yCfqVAQoH2rR ba2q9Rfrqae8NjRJgCNsFhOk5RBp50kYmMQgEpNwBdpTuFAIJqaxGRcWEamAHa9fJwPPEKXOJVAxz 5WoL7ysltD/9xwFx4Uj+6f3rkhdIdYbtrDk2WGaG0YEsXP/6YA+OKWPcQ51D6TGQ5SLKIOEdDDVaI Mfwqp70LyS4ZDZbRL9SyKVgU8wIgVXOlo068fn8v6yL71RpKI3zGe4yObDDOVTF49WLUsOgZI5gcY ehGdGNjQ033gCl4qyiRUdwybiZzWnlGs1ZEZ4r/JxNQOZhJzFCKQCedkBhUJhgmTu9EpM7rBCbp4k dnAFmJDA==; Received: from 201-212-134-26.cab.prima.net.ar ([201.212.134.26] helo=desktop.lan) by yotta.elopez.com.ar with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_CBC_SHA256:128) (Exim 4.86) id 1aXfH8-000523-Gn; Sun, 21 Feb 2016 22:26:59 -0300 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= To: vinod.koul@intel.com, maxime.ripard@free-electrons.com, wens@csie.org, mchehab@osg.samsung.com, balbi@kernel.org, hdegoede@redhat.com Subject: [PATCH 1/3] [media] rc: sunxi-cir: support module autoloading Date: Sun, 21 Feb 2016 22:26:34 -0300 Message-Id: <1456104396-13282-1-git-send-email-emilio@elopez.com.ar> X-Mailer: git-send-email 2.7.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160221_172735_953256_B3D0B0E9 X-CRM114-Status: UNSURE ( 9.05 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.0 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: dmaengine@vger.kernel.org, =?UTF-8?q?Emilio=20L=C3=B3pez?= , linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Emilio López MODULE_DEVICE_TABLE() is missing, so the module isn't auto-loading on systems supporting infrared. This commit adds the missing line so it works out of the box when built as a module and running on a sunxi system with an infrared receiver. Signed-off-by: Emilio López Reviewed-by: Javier Martinez Canillas --- drivers/media/rc/sunxi-cir.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/rc/sunxi-cir.c b/drivers/media/rc/sunxi-cir.c index 40f7768..eaadc08 100644 --- a/drivers/media/rc/sunxi-cir.c +++ b/drivers/media/rc/sunxi-cir.c @@ -326,6 +326,7 @@ static const struct of_device_id sunxi_ir_match[] = { { .compatible = "allwinner,sun5i-a13-ir", }, {}, }; +MODULE_DEVICE_TABLE(of, sunxi_ir_match); static struct platform_driver sunxi_ir_driver = { .probe = sunxi_ir_probe,