mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 05:31:17 -04:00
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.com Signed-off-by: Kate Hsuan <hpa@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
404af81df6
commit
f6675353fe
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user