Skip to content

Commit 7619f95

Browse files
geertuRich Felker
authored andcommitted
Revert "sh: add missing EXPORT_SYMBOL() for __delay"
This reverts commit d1f56f3. __delay() is an internal implementation detail on several architectures. Drivers should not call __delay() directly, as it has non-standardized semantics, or may not even exist. Hence there is no need to export __delay() to modules. See also include/asm-generic/delay.h: /* Undefined functions to get compile-time errors */ ... extern void __delay(unsigned long loops); Signed-off-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Rich Felker <[email protected]>
1 parent 2d2b308 commit 7619f95

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/sh/lib/delay.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ void __delay(unsigned long loops)
2929
: "0" (loops)
3030
: "t");
3131
}
32-
EXPORT_SYMBOL(__delay);
3332

3433
inline void __const_udelay(unsigned long xloops)
3534
{

0 commit comments

Comments
 (0)