diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-03 10:14:19 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:56 -0700 |
commit | 6b23e3104d95dd752fcf8b32fbace15f483b6814 (patch) | |
tree | 41ad1070baf1ca77b5e9c0b5315e5687331dab2c /drivers/staging/pata_rdc/pata_rdc.c | |
parent | 1a24bda26106fa522de8af78a2fea2c5e737137b (diff) |
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>
Diffstat (limited to 'drivers/staging/pata_rdc/pata_rdc.c')
-rw-r--r-- | drivers/staging/pata_rdc/pata_rdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/pata_rdc/pata_rdc.c b/drivers/staging/pata_rdc/pata_rdc.c index c1a18e6b67d..257e622e2fc 100644 --- a/drivers/staging/pata_rdc/pata_rdc.c +++ b/drivers/staging/pata_rdc/pata_rdc.c @@ -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, |