]> git.karo-electronics.de Git - linux-beck.git/commitdiff
skd: fix function prototype
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Nov 2016 12:55:35 +0000 (13:55 +0100)
committerJens Axboe <axboe@fb.com>
Thu, 10 Nov 2016 05:53:47 +0000 (22:53 -0700)
Building with W=1 shows a harmless warning for the skd driver:

drivers/block/skd_main.c:2959:1: error: â€˜static’ is not at beginning of declaration [-Werror=old-style-declaration]

This changes the prototype to the expected formatting.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/skd_main.c

index 66146b3492290921b4ae8f67694d1cd86c8509a6..1e536b97f802a21e3eb465f8de62a7b7f4a30b2c 100644 (file)
@@ -2945,8 +2945,8 @@ static void skd_completion_worker(struct work_struct *work)
 
 static void skd_isr_msg_from_dev(struct skd_device *skdev);
 
-irqreturn_t
-static skd_isr(int irq, void *ptr)
+static irqreturn_t
+skd_isr(int irq, void *ptr)
 {
        struct skd_device *skdev;
        u32 intstat;