Commit f6675353 authored by Kate Hsuan's avatar Kate Hsuan Committed by Mauro Carvalho Chehab

media: atomisp: ifmtr: Removed #if defined(ISP2401) to make driver generic

Removed #if defined(ISP2401) to make driver generic.

Link: https://lore.kernel.org/r/20230713100231.308923-9-hpa@redhat.comSigned-off-by: default avatarKate Hsuan <hpa@redhat.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 404af81d
......@@ -15,7 +15,6 @@
#include "system_global.h"
#ifndef ISP2401
#include "input_formatter.h"
#include <type_support.h>
......@@ -243,4 +242,3 @@ void input_formatter_bin_get_state(
HIVE_STR2MEM_EN_STAT_UPDATE_ADDRESS);
return;
}
#endif
......@@ -16,7 +16,6 @@
#include "system_global.h"
#include <linux/kernel.h>
#ifndef ISP2401
#include "ia_css_ifmtr.h"
#include <math_support.h>
......@@ -550,4 +549,3 @@ static int ifmtr_input_start_line(
return 0;
}
#endif
......@@ -633,7 +633,6 @@ set_view_finder_buffer(const struct ia_css_frame *frame)
return 0;
}
#if !defined(ISP2401)
void sh_css_sp_set_if_configs(
const input_formatter_cfg_t *config_a,
const input_formatter_cfg_t *config_b,
......@@ -655,7 +654,6 @@ void sh_css_sp_set_if_configs(
return;
}
#endif
#if !defined(ISP2401)
void
......
......@@ -149,13 +149,11 @@ sh_css_sp_get_debug_state(struct sh_css_sp_debug_state *state);
#endif
#if !defined(ISP2401)
void
sh_css_sp_set_if_configs(
const input_formatter_cfg_t *config_a,
const input_formatter_cfg_t *config_b,
const uint8_t if_config_index);
#endif
void
sh_css_sp_program_input_circuit(int fmt_type,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment