]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: samsung: usb-ohci: move inline before return type
authorJoe Perches <joe@perches.com>
Wed, 12 Jul 2017 21:37:48 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 12 Jul 2017 23:26:05 +0000 (16:26 -0700)
Make the code like the rest of the kernel.

Link: http://lkml.kernel.org/r/667a515b8d0f10f2465d519f8595edd91552fc5e.1499284835.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/platform_data/usb-ohci-s3c2410.h

index 7fa1fbefc3f229618f837be52a5ee3b619ec1f9c..cc7554ae6e8bd6dbe3985fc5fc23fa8b6d68e765 100644 (file)
@@ -31,7 +31,7 @@ struct s3c2410_hcd_info {
        void            (*report_oc)(struct s3c2410_hcd_info *, int ports);
 };
 
-static void inline s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports)
+static inline void s3c2410_usb_report_oc(struct s3c2410_hcd_info *info, int ports)
 {
        if (info->report_oc != NULL) {
                (info->report_oc)(info, ports);