V4L/DVB: V4L2: soc-camera: export soc-camera bus type for notifications

Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
Guennadi Liakhovetski 2010-07-26 11:37:13 -03:00 • committed by Mauro Carvalho Chehab
commit 52d268a362
2 changed files with 5 additions and 1 deletions

View file

@ -1107,13 +1107,14 @@ static int soc_camera_resume(struct device *dev)
return ret;
}
static struct bus_type soc_camera_bus_type = {
struct bus_type soc_camera_bus_type = {
.name = "soc-camera",
.probe = soc_camera_probe,
.remove = soc_camera_remove,
.suspend = soc_camera_suspend,
.resume = soc_camera_resume,
};
EXPORT_SYMBOL_GPL(soc_camera_bus_type);
static struct device_driver ic_drv = {
.name = "camera",