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: 8370041 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EECF29F52D for ; Mon, 22 Feb 2016 01:49:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2DABF20351 for ; Mon, 22 Feb 2016 01:49:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3ABF4203AC for ; Mon, 22 Feb 2016 01:49:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752762AbcBVBt0 (ORCPT ); Sun, 21 Feb 2016 20:49:26 -0500 Received: from yotta.elopez.com.ar ([185.83.216.59]:56750 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752304AbcBVBtX (ORCPT ); Sun, 21 Feb 2016 20:49:23 -0500 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 Cc: dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-usb@vger.kernel.org, =?UTF-8?q?Emilio=20L=C3=B3pez?= 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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,