diff options
| -rw-r--r-- | drivers/gpu/ipu-v3/Kconfig | 3 | ||||
| -rw-r--r-- | drivers/gpu/ipu-v3/ipu-common.c | 4 | ||||
| -rw-r--r-- | drivers/gpu/ipu-v3/ipu-smfc.c | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/drivers/gpu/ipu-v3/Kconfig b/drivers/gpu/ipu-v3/Kconfig index 2f228a2f2a48..aefdff95356d 100644 --- a/drivers/gpu/ipu-v3/Kconfig +++ b/drivers/gpu/ipu-v3/Kconfig | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | config IMX_IPUV3_CORE | 1 | config IMX_IPUV3_CORE |
| 2 | tristate "IPUv3 core support" | 2 | tristate "IPUv3 core support" |
| 3 | depends on SOC_IMX5 || SOC_IMX6Q || SOC_IMX6SL || ARCH_MULTIPLATFORM | 3 | depends on SOC_IMX5 || SOC_IMX6Q || ARCH_MULTIPLATFORM |
| 4 | depends on RESET_CONTROLLER | 4 | depends on RESET_CONTROLLER |
| 5 | select GENERIC_IRQ_CHIP | ||
| 5 | help | 6 | help |
| 6 | Choose this if you have a i.MX5/6 system and want to use the Image | 7 | Choose this if you have a i.MX5/6 system and want to use the Image |
| 7 | Processing Unit. This option only enables IPU base support. | 8 | Processing Unit. This option only enables IPU base support. |
diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-common.c index df65d2bca522..f707d25ae78f 100644 --- a/drivers/gpu/ipu-v3/ipu-common.c +++ b/drivers/gpu/ipu-v3/ipu-common.c | |||
| @@ -1060,8 +1060,10 @@ static int ipu_add_client_devices(struct ipu_soc *ipu, unsigned long ipu_base) | |||
| 1060 | id++, ®->pdata, sizeof(reg->pdata)); | 1060 | id++, ®->pdata, sizeof(reg->pdata)); |
| 1061 | } | 1061 | } |
| 1062 | 1062 | ||
| 1063 | if (IS_ERR(pdev)) | 1063 | if (IS_ERR(pdev)) { |
| 1064 | ret = PTR_ERR(pdev); | ||
| 1064 | goto err_register; | 1065 | goto err_register; |
| 1066 | } | ||
| 1065 | } | 1067 | } |
| 1066 | 1068 | ||
| 1067 | return 0; | 1069 | return 0; |
diff --git a/drivers/gpu/ipu-v3/ipu-smfc.c b/drivers/gpu/ipu-v3/ipu-smfc.c index 6ca9b43ce25a..4ef910991413 100644 --- a/drivers/gpu/ipu-v3/ipu-smfc.c +++ b/drivers/gpu/ipu-v3/ipu-smfc.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * http://www.opensource.org/licenses/gpl-license.html | 8 | * http://www.opensource.org/licenses/gpl-license.html |
| 9 | * http://www.gnu.org/copyleft/gpl.html | 9 | * http://www.gnu.org/copyleft/gpl.html |
| 10 | */ | 10 | */ |
| 11 | #define DEBUG | ||
| 12 | #include <linux/export.h> | 11 | #include <linux/export.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/init.h> | 13 | #include <linux/init.h> |
