Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202151
b: refs/heads/master
c: 52d268a
h: refs/heads/master
i:
  202149: b3040ac
  202147: 1733f2a
  202143: 1b04f88
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Aug 2, 2010
1 parent dabaecf commit 3d401a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c6b65ab78bebf5ceaa8de53d8a9c4f5e34e45e57
refs/heads/master: 52d268a36246ee4156cc719036522616bb4d73fa
3 changes: 2 additions & 1 deletion trunk/drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions trunk/include/media/soc_camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
#ifndef SOC_CAMERA_H
#define SOC_CAMERA_H

#include <linux/device.h>
#include <linux/mutex.h>
#include <linux/pm.h>
#include <linux/videodev2.h>
#include <media/videobuf-core.h>
#include <media/v4l2-device.h>

extern struct bus_type soc_camera_bus_type;

struct soc_camera_device {
struct list_head list;
struct device dev;
Expand Down

0 comments on commit 3d401a5

Please sign in to comment.