Commit 2267a750 authored by Alan Cox's avatar Alan Cox Committed by Greg Kroah-Hartman

atomisp: HRT_KERNEL is always defined so clean up the ifdef use

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5cacee52
...@@ -365,7 +365,7 @@ ifeq ($(CONFIG_ION),y) ...@@ -365,7 +365,7 @@ ifeq ($(CONFIG_ION),y)
INCLUDES += -I$(srctree)/drivers/staging/android/ion INCLUDES += -I$(srctree)/drivers/staging/android/ion
endif endif
DEFINES := -DHRT_HW -DHRT_ISP_CSS_CUSTOM_HOST -DHRT_USE_VIR_ADDRS -DHRT_KERNEL -D__HOST__ DEFINES := -DHRT_HW -DHRT_ISP_CSS_CUSTOM_HOST -DHRT_USE_VIR_ADDRS -D__HOST__
#DEFINES += -DUSE_DYNAMIC_BIN #DEFINES += -DUSE_DYNAMIC_BIN
#DEFINES += -DISP_POWER_GATING #DEFINES += -DISP_POWER_GATING
#DEFINES += -DUSE_INTERRUPTS #DEFINES += -DUSE_INTERRUPTS
......
...@@ -24,10 +24,6 @@ ...@@ -24,10 +24,6 @@
#ifndef _hive_isp_css_mm_hrt_h_ #ifndef _hive_isp_css_mm_hrt_h_
#define _hive_isp_css_mm_hrt_h_ #define _hive_isp_css_mm_hrt_h_
#ifndef HRT_KERNEL
/* size_t is defined already in kernel mode */
#include <stdlib.h>
#endif
#include <hmm/hmm.h> #include <hmm/hmm.h>
#include <hrt/hive_isp_css_custom_host_hrt.h> #include <hrt/hive_isp_css_custom_host_hrt.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