Skip to contentSkip to conversation

CRIS: gpio: move inline before return type

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

lore
Share & tools
lore
#0 lore raw

PATCH 82/96 CRIS: gpio: move inline before return type

From: Joe Perches <[email protected]>
Subject: CRIS: gpio: move inline before return type

Move inline to be like the rest of the kernel.

---

 arch/cris/arch-v10/drivers/gpio.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/cris/arch-v10/drivers/gpio.c renamed from arch/cris/arch-v10/drivers/gpio.c~cris-gpio-move-inline-before-return-type +2 -2
diff -puN arch/cris/arch-v10/drivers/gpio.c~cris-gpio-move-inline-before-return-type arch/cris/arch-v10/drivers/gpio.c
@@ -399,7 +399,7 @@ out:
 /* Main device API. ioctl's to read/set/clear bits, as well as to
  * set alarms to wait for using a subsequent select().
  */
-unsigned long inline setget_input(struct gpio_private *priv, unsigned long arg)
+inline unsigned long setget_input(struct gpio_private *priv, unsigned long arg)
 {
 	/* Set direction 0=unchanged 1=input,
 	 * return mask with 1=input */
@@ -450,7 +450,7 @@ unsigned long inline setget_input(struct
 	return dir_g_in_bits;
 } /* setget_input */
 
-unsigned long inline setget_output(struct gpio_private *priv, unsigned long arg)
+inline unsigned long setget_output(struct gpio_private *priv, unsigned long arg)
 {
 	if (USE_PORTS(priv)) {
 		*priv->dir = *priv->dir_shadow |=

_