diff options
author | Mauro Carvalho Chehab | 2017-10-31 16:03:04 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab | 2017-11-01 17:25:50 +0100 |
commit | 4c5133f5c51647caa7715ba7025b86086a42a922 (patch) | |
tree | 425ee800a0462e9545ed8a227db65357e5a8e016 /drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h | |
parent | media: atomisp: get rid of wrong stddef.h include (diff) | |
download | kernel-qcow2-linux-4c5133f5c51647caa7715ba7025b86086a42a922.tar.gz kernel-qcow2-linux-4c5133f5c51647caa7715ba7025b86086a42a922.tar.xz kernel-qcow2-linux-4c5133f5c51647caa7715ba7025b86086a42a922.zip |
media: atomisp: get rid of storage_class.h
Don't hide function declaration on ugly macros.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Sakari Ailus <sakari.ailus@iki.fi>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h index 016132ba0b7f..75c6854c8e7b 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/gdc_device.h @@ -31,18 +31,17 @@ * - local: system and cell specific constants and identifiers */ -#include "storage_class.h" #include "system_local.h" #include "gdc_local.h" #ifndef __INLINE_GDC__ -#define STORAGE_CLASS_GDC_H STORAGE_CLASS_EXTERN +#define STORAGE_CLASS_GDC_H extern #define STORAGE_CLASS_GDC_C #include "gdc_public.h" #else /* __INLINE_GDC__ */ -#define STORAGE_CLASS_GDC_H STORAGE_CLASS_INLINE -#define STORAGE_CLASS_GDC_C STORAGE_CLASS_INLINE +#define STORAGE_CLASS_GDC_H static inline +#define STORAGE_CLASS_GDC_C static inline #include "gdc_private.h" #endif /* __INLINE_GDC__ */ |