diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-07-31 07:12:22 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2016-08-24 05:35:19 -0400 |
| commit | f304562ed3c97e237a77b3da57b0e43f264bd82a (patch) | |
| tree | 5464da90804b1a655ffa054412d638dc120c369f /include/media | |
| parent | 563bf7a72eac823b06953cd3dce9b71b499fa438 (diff) | |
[media] soc-camera/sh_mobile_csi2: remove unused driver
The sh_mobile_csi2 isn't used anymore (was it ever?), so remove it.
Especially since the soc-camera framework is being deprecated.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/media')
| -rw-r--r-- | include/media/drv-intf/sh_mobile_ceu.h | 1 | ||||
| -rw-r--r-- | include/media/drv-intf/sh_mobile_csi2.h | 48 |
2 files changed, 0 insertions, 49 deletions
diff --git a/include/media/drv-intf/sh_mobile_ceu.h b/include/media/drv-intf/sh_mobile_ceu.h index 7f57056c22ba..2f43f7d9e28d 100644 --- a/include/media/drv-intf/sh_mobile_ceu.h +++ b/include/media/drv-intf/sh_mobile_ceu.h | |||
| @@ -21,7 +21,6 @@ struct sh_mobile_ceu_info { | |||
| 21 | unsigned long flags; | 21 | unsigned long flags; |
| 22 | int max_width; | 22 | int max_width; |
| 23 | int max_height; | 23 | int max_height; |
| 24 | struct sh_mobile_ceu_companion *csi2; | ||
| 25 | struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ | 24 | struct v4l2_async_subdev **asd; /* Flat array, arranged in groups */ |
| 26 | unsigned int *asd_sizes; /* 0-terminated array pf asd group sizes */ | 25 | unsigned int *asd_sizes; /* 0-terminated array pf asd group sizes */ |
| 27 | }; | 26 | }; |
diff --git a/include/media/drv-intf/sh_mobile_csi2.h b/include/media/drv-intf/sh_mobile_csi2.h deleted file mode 100644 index 14030db51f13..000000000000 --- a/include/media/drv-intf/sh_mobile_csi2.h +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | /* | ||
| 2 | * Driver header for the SH-Mobile MIPI CSI-2 unit | ||
| 3 | * | ||
| 4 | * Copyright (C) 2010, Guennadi Liakhovetski <g.liakhovetski@gmx.de> | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #ifndef SH_MIPI_CSI | ||
| 12 | #define SH_MIPI_CSI | ||
| 13 | |||
| 14 | #include <linux/list.h> | ||
| 15 | |||
| 16 | enum sh_csi2_phy { | ||
| 17 | SH_CSI2_PHY_MAIN, | ||
| 18 | SH_CSI2_PHY_SUB, | ||
| 19 | }; | ||
| 20 | |||
| 21 | enum sh_csi2_type { | ||
| 22 | SH_CSI2C, | ||
| 23 | SH_CSI2I, | ||
| 24 | }; | ||
| 25 | |||
| 26 | #define SH_CSI2_CRC (1 << 0) | ||
| 27 | #define SH_CSI2_ECC (1 << 1) | ||
| 28 | |||
| 29 | struct platform_device; | ||
| 30 | |||
| 31 | struct sh_csi2_client_config { | ||
| 32 | enum sh_csi2_phy phy; | ||
| 33 | unsigned char lanes; /* bitmask[3:0] */ | ||
| 34 | unsigned char channel; /* 0..3 */ | ||
| 35 | struct platform_device *pdev; /* client platform device */ | ||
| 36 | const char *name; /* async matching: client name */ | ||
| 37 | }; | ||
| 38 | |||
| 39 | struct v4l2_device; | ||
| 40 | |||
| 41 | struct sh_csi2_pdata { | ||
| 42 | enum sh_csi2_type type; | ||
| 43 | unsigned int flags; | ||
| 44 | struct sh_csi2_client_config *clients; | ||
| 45 | int num_clients; | ||
| 46 | }; | ||
| 47 | |||
| 48 | #endif | ||
