Skip to contentSkip to conversation

ARM: HP Jornada 7XX: move inline before return type

PATCH New [email protected] 1 participant 1 message Jul 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 81/96 ARM: HP Jornada 7XX: move inline before return type

From: Joe Perches <[email protected]>
Subject: ARM: HP Jornada 7XX: move inline before return type

Convert 'u8 inline' to 'inline u8' to be the same style used by the rest of the kernel.

Miscellanea:

jornada_ssp_reverse is an odd function.
It is declared inline but is also EXPORT_SYMBOL. It is also apparently only used by jornada720_ssp.c Likely the EXPORT_SYMBOL could be removed and the function converted to static.

The addition of static and removal of EXPORT_SYMBOL was not done.

---

 arch/arm/mach-sa1100/jornada720_ssp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-sa1100/jornada720_ssp.c renamed from arch/arm/mach-sa1100/jornada720_ssp.c~arm-hp-jornada-7xx-move-inline-before-return-type +1 -1
diff -puN arch/arm/mach-sa1100/jornada720_ssp.c~arm-hp-jornada-7xx-move-inline-before-return-type arch/arm/mach-sa1100/jornada720_ssp.c
@@ -33,7 +33,7 @@ static unsigned long jornada_ssp_flags;
  * we need to reverse all data we receive from the mcu due to its physical location
  * returns : 01110111 -> 11101110
  */
-u8 inline jornada_ssp_reverse(u8 byte)
+inline u8 jornada_ssp_reverse(u8 byte)
 {
 	return
 		((0x80 & byte) >> 7) |

_