scsi: sd: Remove the number of forward declarations
authorBart Van Assche <bvanassche@acm.org>
Wed, 23 Aug 2023 21:06:28 +0000 (14:06 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2023 02:18:47 +0000 (22:18 -0400)
commitefcf965a127823f63a70ec52f2c4bec3d722b6b5
tree0ba0c275434feda665f1e0f5daaf8ab1a984abdb
parent9604eea5bd3ae1fa3c098294f4fc29ad687141ea
scsi: sd: Remove the number of forward declarations

Move the sd_pm_ops and sd_template data structures to just above init_sd()
such that the number of forward function declarations can be reduced.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20230823210628.523244-1-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c