staging/dream: Add final missing bits
PATCH 3/3 staging/dream: Add final missing bits
This adds final missing bits that allow drivers/staging to compile.
Signed-off-by Pavel Machek <[email protected]>
drivers/staging/dream/include/mach/camera.h +36 -0
@@ -277,3 +277,39 @@ void msm_camio_disable(struct platform_device *);int msm_camio_probe_on (struct platform_device *);int msm_camio_probe_off (struct platform_device *);#endif + +struct msm_camera_io_ext { +uint32_t mdcphy; +uint32_t mdcsz; +uint32_t appphy; +uint32_t appsz; +}; + +struct msm_camera_device_platform_data { +void (*camera_gpio_on) (void ); +void (*camera_gpio_off)(void ); +struct msm_camera_io_ext ioext; +}; + +#ifdef CONFIG_SENSORS_MT9T013 +struct msm_camera_legacy_device_platform_data { +int sensor_reset; +int sensor_pwd; +int vcm_pwd; +void (*config_gpio_on) (void ); +void (*config_gpio_off)(void ); +}; +#endif + +#define MSM_CAMERA_FLASH_NONE 0 +#define MSM_CAMERA_FLASH_LED 1 + +struct msm_camera_sensor_info { +const char *sensor_name; +int sensor_reset; +int sensor_pwd; +int vcm_pwd; +int mclk; +int flash_type; +struct msm_camera_device_platform_data *pdata; +};
drivers/staging/dream/include/mach/msm_rpcrouter.h +10 -0
@@ -176,4 +176,14 @@ struct msm_rpc_serverint msm_rpc_create_server (struct msm_rpc_server *server); +struct snd_endpoint { +int id; +const char *name; +}; + +struct msm_snd_endpoints { +struct snd_endpoint *endpoints; +unsigned num; +}; +#endif
drivers/staging/dream/qdsp5/adsp.c +1 -0
@@ -45,6 +45,7 @@ static inline void allow_suspend(void)#include "adsp.h" #define INT_ADSP INT_ADSP_A9_A11 +#define MSM_AD5_BASE IOMEM(0xE0300000)static struct adsp_info adsp_info;static struct msm_rpc_endpoint *rpc_cb_server_client;
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html