scsi: gdth: Make option_setup() static
authorJason Yan <yanaijie@huawei.com>
Fri, 18 Sep 2020 03:49:20 +0000 (11:49 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 8 Oct 2020 01:48:28 +0000 (21:48 -0400)
commit938b9e9ffbf8eadc09480eaa4062e033b16c395d
treee45d0640d399ef21b24c2a6938bdf6936c0c5000
parentca57b069954ab68d936af65c871d3a122938de2a
scsi: gdth: Make option_setup() static

Move the two functions around the '__setup' macro which uses them to avoid
an 'unused-function' warning.

This addresses the following sparse warning:

drivers/scsi/gdth.c:3229:12: warning: symbol 'option_setup' was not
declared. Should it be static?

Link: https://lore.kernel.org/r/20200918034920.3199926-1-yanaijie@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/gdth.c