diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-11-09 13:55:35 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-11-09 22:53:47 -0700 |
commit | 41c9499b221ebe102f776589085cde43d0dadc46 (patch) | |
tree | dd1fecfa7cc1e0bfe42023103761a6cdad35af89 /drivers/block/skd_main.c | |
parent | 3bc8492f009c76a9e77cad6e200b0748d3972fa0 (diff) | |
download | linux-rt-41c9499b221ebe102f776589085cde43d0dadc46.tar.gz |
skd: fix function prototype
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>
Diffstat (limited to 'drivers/block/skd_main.c')
-rw-r--r-- | drivers/block/skd_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index 66146b349229..1e536b97f802 100644 --- a/drivers/block/skd_main.c +++ b/drivers/block/skd_main.c @@ -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; |