summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-06-03 10:14:19 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-06-19 11:00:56 -0700
commit6b23e3104d95dd752fcf8b32fbace15f483b6814 (patch)
tree41ad1070baf1ca77b5e9c0b5315e5687331dab2c /drivers/staging
parent1a24bda26106fa522de8af78a2fea2c5e737137b (diff)
downloadlinux-stable-6b23e3104d95dd752fcf8b32fbace15f483b6814.tar.gz
linux-stable-6b23e3104d95dd752fcf8b32fbace15f483b6814.tar.bz2
linux-stable-6b23e3104d95dd752fcf8b32fbace15f483b6814.zip
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')
-rw-r--r--drivers/staging/pata_rdc/pata_rdc.c2
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 c1a18e6b67d7..257e622e2fce 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,