aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/adc.h
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-07-14 14:18:49 +0200
committerRich Felker <[email protected]>2020-08-14 22:05:14 -0400
commite12b090eae6ac3b18f42673a4b0fef6e61b63cac (patch)
tree3ad2566629692a3a063356ebbc6ce36218eb8ab9 /arch/sh/include/asm/adc.h
parent582dc536d75990c7a50f5d385ee0d10ee284411f (diff)
sh: remove __KERNEL__ ifdefs from non-UAPI headers
There is no point in having __KERNEL__ ifdefs in headers not exported to userspace. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: Rich Felker <[email protected]>
Diffstat (limited to 'arch/sh/include/asm/adc.h')
-rw-r--r--arch/sh/include/asm/adc.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sh/include/asm/adc.h b/arch/sh/include/asm/adc.h
index 99ec66849559..feccfe639e38 100644
--- a/arch/sh/include/asm/adc.h
+++ b/arch/sh/include/asm/adc.h
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __ASM_ADC_H
#define __ASM_ADC_H
-#ifdef __KERNEL__
/*
* Copyright (C) 2004 Andriy Skulysh
*/
@@ -10,5 +9,4 @@
int adc_single(unsigned int channel);
-#endif /* __KERNEL__ */
#endif /* __ASM_ADC_H */