Commit 3906a59c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

greybus: kernel_ver.h: add a ' ' character to KERNEL_VERSION()

You should always put a space after a ',', so do it for the
KERNEL_VERSION() macro as well.  This makes checkpatch.pl happy also.
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 99a4bd59
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
#include <linux/version.h> #include <linux/version.h>
#include <linux/gpio.h> #include <linux/gpio.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
static inline void gb_gpiochip_remove(struct gpio_chip *chip) static inline void gb_gpiochip_remove(struct gpio_chip *chip)
{ {
gpiochip_remove(chip); gpiochip_remove(chip);
...@@ -77,7 +77,7 @@ static inline void gb_gpiochip_remove(struct gpio_chip *chip) ...@@ -77,7 +77,7 @@ static inline void gb_gpiochip_remove(struct gpio_chip *chip)
* ATTRIBUTE_GROUPS showed up in 3.11-rc2, but we need to build on 3.10, so add * ATTRIBUTE_GROUPS showed up in 3.11-rc2, but we need to build on 3.10, so add
* it here. * it here.
*/ */
#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0) #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)
#include <linux/sysfs.h> #include <linux/sysfs.h>
#define ATTRIBUTE_GROUPS(name) \ #define ATTRIBUTE_GROUPS(name) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment