aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/via-camera.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/platform/via-camera.c')
-rw-r--r--drivers/media/platform/via-camera.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c
index eb404c2ce270..63e8c3461239 100644
--- a/drivers/media/platform/via-camera.c
+++ b/drivers/media/platform/via-camera.c
@@ -1324,7 +1324,7 @@ static struct video_device viacam_v4l_template = {
1324#define VIACAM_SERIAL_CREG 0x46 1324#define VIACAM_SERIAL_CREG 0x46
1325#define VIACAM_SERIAL_BIT 0x40 1325#define VIACAM_SERIAL_BIT 0x40
1326 1326
1327static __devinit bool viacam_serial_is_enabled(void) 1327static bool viacam_serial_is_enabled(void)
1328{ 1328{
1329 struct pci_bus *pbus = pci_find_bus(0, 0); 1329 struct pci_bus *pbus = pci_find_bus(0, 0);
1330 u8 cbyte; 1330 u8 cbyte;
@@ -1353,7 +1353,7 @@ static struct ov7670_config sensor_cfg = {
1353 .clock_speed = 90, 1353 .clock_speed = 90,
1354}; 1354};
1355 1355
1356static __devinit int viacam_probe(struct platform_device *pdev) 1356static int viacam_probe(struct platform_device *pdev)
1357{ 1357{
1358 int ret; 1358 int ret;
1359 struct i2c_adapter *sensor_adapter; 1359 struct i2c_adapter *sensor_adapter;
@@ -1490,7 +1490,7 @@ out_unregister:
1490 return ret; 1490 return ret;
1491} 1491}
1492 1492
1493static __devexit int viacam_remove(struct platform_device *pdev) 1493static int viacam_remove(struct platform_device *pdev)
1494{ 1494{
1495 struct via_camera *cam = via_cam_info; 1495 struct via_camera *cam = via_cam_info;
1496 struct viafb_dev *viadev = pdev->dev.platform_data; 1496 struct viafb_dev *viadev = pdev->dev.platform_data;