Commit 8a1d611a authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Fix compile warning in g_NCR5380

From: Andries.Brouwer@cwi.nl

 `generic_NCR5380_biosparam' declared `static' but never defined
parent 8ff8bd39
......@@ -527,8 +527,9 @@ int generic_NCR5380_release_resources(struct Scsi_Host *instance)
* Locks: none
*/
int generic_NCR5380_biosparam(struct scsi_device *sdev,
struct block_device *bdev, sector_t capacity, int *ip)
static int
generic_NCR5380_biosparam(struct scsi_device *sdev, struct block_device *bdev,
sector_t capacity, int *ip)
{
ip[0] = 64;
ip[1] = 32;
......
......@@ -52,7 +52,6 @@ static int generic_NCR5380_bus_reset(Scsi_Cmnd *);
static int generic_NCR5380_host_reset(Scsi_Cmnd *);
static int generic_NCR5380_device_reset(Scsi_Cmnd *);
static const char* generic_NCR5380_info(struct Scsi_Host *);
static int generic_NCR5380_biosparam(struct scsi_device *, struct block_device *, sector_t, int *);
#ifndef CMD_PER_LUN
#define CMD_PER_LUN 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment