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

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

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

Link: https://lore.kernel.org/r/20230713100231.308923-6-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 7ed0c6c0
...@@ -16,7 +16,6 @@ ...@@ -16,7 +16,6 @@
#ifndef __ISYS_DMA_PUBLIC_H_INCLUDED__ #ifndef __ISYS_DMA_PUBLIC_H_INCLUDED__
#define __ISYS_DMA_PUBLIC_H_INCLUDED__ #define __ISYS_DMA_PUBLIC_H_INCLUDED__
#ifdef ISP2401
#include "system_local.h" #include "system_local.h"
#include "type_support.h" #include "type_support.h"
...@@ -34,6 +33,5 @@ void isys2401_dma_set_max_burst_size( ...@@ -34,6 +33,5 @@ void isys2401_dma_set_max_burst_size(
const isys2401_dma_ID_t dma_id, const isys2401_dma_ID_t dma_id,
uint32_t max_burst_size); uint32_t max_burst_size);
#endif /* ISP2401 */
#endif /* __ISYS_DMA_PUBLIC_H_INCLUDED__ */ #endif /* __ISYS_DMA_PUBLIC_H_INCLUDED__ */
...@@ -19,7 +19,6 @@ ...@@ -19,7 +19,6 @@
#include "isys_irq_global.h" #include "isys_irq_global.h"
#include "isys_irq_local.h" #include "isys_irq_local.h"
#if defined(ISP2401)
void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id, void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id,
isys_irqc_state_t *state); isys_irqc_state_t *state);
...@@ -36,6 +35,5 @@ hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id, ...@@ -36,6 +35,5 @@ hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id,
void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id); void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id);
#endif /* defined(ISP2401) */
#endif /* __ISYS_IRQ_PUBLIC_H__ */ #endif /* __ISYS_IRQ_PUBLIC_H__ */
...@@ -19,10 +19,8 @@ ...@@ -19,10 +19,8 @@
#include <type_support.h> #include <type_support.h>
#include <system_local.h> #include <system_local.h>
#if defined(ISP2401)
#include "isys_irq_public.h" #include "isys_irq_public.h"
#endif /* defined(ISP2401) */
#endif /* __IA_CSS_ISYS_IRQ_H__ */ #endif /* __IA_CSS_ISYS_IRQ_H__ */
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