]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
MLK-10092-1 ov5640: Rename compatible string from ov564x to ov5640
authorSandor Yu <R01008@freescale.com>
Wed, 14 Jan 2015 07:34:22 +0000 (15:34 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:19:58 +0000 (21:19 -0600)
There are two version ov5640 driver,
one is written with v4l2 int-device architecture,
and the other is written with v4l2 subdev architecture.
Rename subdev ov5640 compatible string from ov5640x to ov5640
to distinguish with ov5640 int-device driver.
so ov564x is used for int-device architecture and
ov5640 is used for subdev architecture.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/media/platform/mxc/capture/ov5640.c
drivers/media/platform/mxc/subdev/ov5640.c

index 0af5983c68f03746d35ec3890c39ef17b4febd3f..d781684d134006688c9af5d6aad50d542cc00532 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2014 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2012-2015 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
 /*
@@ -566,7 +566,6 @@ static s32 ov5640_read_reg(u16 reg, u8 *val);
 static s32 ov5640_write_reg(u16 reg, u8 val);
 
 static const struct i2c_device_id ov5640_id[] = {
-       {"ov5640", 0},
        {"ov564x", 0},
        {},
 };
index 49289603137d1c7b0737b2faae6c0ae66324d9e0..ee3870748e246824cf64874ae5fba383eeb25336 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2012-2014 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright (C) 2012-2015 Freescale Semiconductor, Inc. All Rights Reserved.
  */
 
 /*
@@ -598,7 +598,6 @@ static s32 ov5640_write_reg(u16 reg, u8 val);
 
 static const struct i2c_device_id ov5640_id[] = {
        {"ov5640", 0},
-       {"ov564x", 0},
        {},
 };