mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
a11f6706ca
The omap3isp platform device requires platform data. Instead of registering the device in omap2_init_devices(), export an omap3_init_camera() function to fill the device structure with the platform data pointer and register the device. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
20 lines
515 B
C
20 lines
515 B
C
/*
|
|
* arch/arm/mach-omap2/devices.h
|
|
*
|
|
* OMAP2 platform device setup/initialization
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef __ARCH_ARM_MACH_OMAP_DEVICES_H
|
|
#define __ARCH_ARM_MACH_OMAP_DEVICES_H
|
|
|
|
struct isp_platform_data;
|
|
|
|
int omap3_init_camera(struct isp_platform_data *pdata);
|
|
|
|
#endif
|