From: Arnd Bergmann Date: Wed, 9 Nov 2016 12:55:35 +0000 (+0100) Subject: skd: fix function prototype X-Git-Tag: v4.10-rc1~153^2~99 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=41c9499b221ebe102f776589085cde43d0dadc46;p=karo-tx-linux.git 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 Signed-off-by: Jens Axboe --- 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;