mirror of
https://github.com/torvalds/linux.git
synced 2024-11-05 03:21:32 +00:00
Staging: pata_rdc: fix build warnings
struct ata_port_info shouldn't be const, so remove that which fixes up the compiler warnings. Cc: Kevin Huang <Kevin.Huang@rdc.com.tw> Cc: Tomy Wang <Tomy.Wang@rdc.com.tw> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
1a24bda261
commit
6b23e3104d
@ -942,7 +942,7 @@ static struct scsi_host_template rdc_pata_sht = {
|
||||
ATA_BMDMA_SHT(DRIVER_NAME),
|
||||
};
|
||||
|
||||
static const struct ata_port_operations rdc_pata_ops = {
|
||||
static struct ata_port_operations rdc_pata_ops = {
|
||||
.inherits = &ata_bmdma_port_ops,
|
||||
|
||||
.port_start = rdc_pata_port_start,
|
||||
|
Loading…
Reference in New Issue
Block a user