Skip to content

Commit

Permalink
atomisp: HRT_KERNEL is always defined so clean up the ifdef use
Browse files Browse the repository at this point in the history
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Alan Cox authored and Greg Kroah-Hartman committed Mar 8, 2017
1 parent 5cacee5 commit 2267a75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion drivers/staging/media/atomisp/pci/atomisp2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ ifeq ($(CONFIG_ION),y)
INCLUDES += -I$(srctree)/drivers/staging/android/ion
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 += -DISP_POWER_GATING
#DEFINES += -DUSE_INTERRUPTS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@
#ifndef _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 <hrt/hive_isp_css_custom_host_hrt.h>

Expand Down

0 comments on commit 2267a75

Please sign in to comment.