mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[ARM] "extern inline" -> "static inline"
"extern inline" will have different semantics with gcc 4.3. Signed-off-by: Adrian Bunk <[email protected]> Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
5e802dfab7
commit
3859810521
3 changed files with 8 additions and 8 deletions
|
|
@ -14,17 +14,17 @@
|
|||
|
||||
#ifndef __ASSEMBLY__
|
||||
|
||||
extern inline unsigned long ixp2000_reg_read(volatile void *reg)
|
||||
static inline unsigned long ixp2000_reg_read(volatile void *reg)
|
||||
{
|
||||
return *((volatile unsigned long *)reg);
|
||||
}
|
||||
|
||||
extern inline void ixp2000_reg_write(volatile void *reg, unsigned long val)
|
||||
static inline void ixp2000_reg_write(volatile void *reg, unsigned long val)
|
||||
{
|
||||
*((volatile unsigned long *)reg) = val;
|
||||
}
|
||||
|
||||
extern inline void ixp2000_reg_wrb(volatile void *reg, unsigned long val)
|
||||
static inline void ixp2000_reg_wrb(volatile void *reg, unsigned long val)
|
||||
{
|
||||
*((volatile unsigned long *)reg) = val;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue