From: Greg Kroah-Hartman Date: Wed, 3 Jun 2009 17:14:19 +0000 (-0700) Subject: Staging: pata_rdc: fix build warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6b23e3104d95dd752fcf8b32fbace15f483b6814;p=openwrt%2Fstaging%2Fblogic.git 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 Cc: Tomy Wang Signed-off-by: Greg Kroah-Hartman --- 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,