Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261599
b: refs/heads/master
c: d33b290
h: refs/heads/master
i:
  261597: 631dd5e
  261595: c3f9805
  261591: a4a7a59
  261583: 8caa90e
  261567: 908fbc1
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent d1b06dd commit edc0e6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 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: 6b526fed0e688e3926bd43a09f2f36cba3983ce2
refs/heads/master: d33b290a149dafe2e3cc2901ec726bea09a2c0f4
3 changes: 1 addition & 2 deletions trunk/drivers/media/video/soc_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1207,12 +1207,11 @@ static int soc_camera_remove(struct device *dev)
return 0;
}

struct bus_type soc_camera_bus_type = {
static struct bus_type soc_camera_bus_type = {
.name = "soc-camera",
.probe = soc_camera_probe,
.remove = soc_camera_remove,
};
EXPORT_SYMBOL_GPL(soc_camera_bus_type);

static struct device_driver ic_drv = {
.name = "camera",
Expand Down
8 changes: 3 additions & 5 deletions trunk/include/media/soc_camera.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,10 @@
#include <media/videobuf2-core.h>
#include <media/v4l2-device.h>

extern struct bus_type soc_camera_bus_type;

struct file;

struct soc_camera_device {
struct list_head list;
struct list_head list; /* list of all registered devices */
struct device dev;
struct device *pdev; /* Platform device */
s32 user_width;
Expand Down Expand Up @@ -126,8 +124,8 @@ struct soc_camera_link {
int num_regulators;

/*
* For non-I2C devices platform platform has to provide methods to
* add a device to the system and to remove
* For non-I2C devices platform has to provide methods to add a device
* to the system and to remove it
*/
int (*add_device)(struct soc_camera_link *, struct device *);
void (*del_device)(struct soc_camera_link *);
Expand Down

0 comments on commit edc0e6a

Please sign in to comment.