Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1226687

Re: [PATCH] [media] omap3isp: Fix module autoloading

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Newsgroups linux.kernel
Subject Re: [PATCH] [media] omap3isp: Fix module autoloading
Date Thu, 17 Sep 2015 08:20:02 +0200
Message-ID <q9AI2-3lX-1@gated-at.bofh.it> (permalink)
References <q9usW-2um-13@gated-at.bofh.it>
X-Original-To Javier Martinez Canillas <javier@osg.samsung.com>
User-Agent KMail/4.14.8 (Linux/4.0.5-gentoo; KDE/4.14.8; x86_64; ; )
MIME-Version 1.0
Content-Transfer-Encoding 7Bit
Content-Type text/plain; charset="us-ascii"
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Cc linux-kernel@vger.kernel.org, Sakari Ailus <sakari.ailus@linux.intel.com>, Mauro Carvalho Chehab <mchehab@osg.samsung.com>, linux-media@vger.kernel.org
X-Original-Date Thu, 17 Sep 2015 09:12:18 +0300
X-Original-Message-ID <1861148.Fpo7v6OHii@avalon>
X-Original-References <1442446298-28179-1-git-send-email-javier@osg.samsung.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1226687

Show key headers only | View raw


On Thursday 17 September 2015 01:31:38 Javier Martinez Canillas wrote:
> Platform drivers needs to export the OF id table and this be built
> into the module or udev will not have the necessary information to
> autoload the driver module when the device is registered via OF.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
> 
>  drivers/media/platform/omap3isp/isp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/media/platform/omap3isp/isp.c
> b/drivers/media/platform/omap3isp/isp.c index 56e683b19a73..2c2840650fb2
> 100644
> --- a/drivers/media/platform/omap3isp/isp.c
> +++ b/drivers/media/platform/omap3isp/isp.c
> @@ -2509,6 +2509,7 @@ static const struct of_device_id omap3isp_of_table[] =
> { { .compatible = "ti,omap3-isp" },
>  	{ },
>  };
> +MODULE_DEVICE_TABLE(of, omap3isp_of_table);
> 
>  static struct platform_driver omap3isp_driver = {
>  	.probe = isp_probe,

-- 
Regards,

Laurent Pinchart

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] [media] omap3isp: Fix module autoloading Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-17 01:40 +0200
  Re: [PATCH] [media] omap3isp: Fix module autoloading Laurent Pinchart <laurent.pinchart@ideasonboard.com> - 2015-09-17 08:20 +0200

csiph-web