Skip to content

Commit

Permalink
skd: fix function prototype
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Arnd Bergmann authored and Jens Axboe committed Nov 10, 2016
1 parent 3bc8492 commit 41c9499
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/block/skd_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 41c9499

Please sign in to comment.