浏览代码

pata_scc: fix compile warning

Missed one during mass conversion (dc14c0c5).  Fix it.  Spotted by
Stephen Rothwell.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Tejun Heo 17 年之前
父节点
当前提交
c1796d9850
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/ata/pata_scc.c

+ 1 - 1
drivers/ata/pata_scc.c

@@ -960,7 +960,7 @@ static struct scsi_host_template scc_sht = {
 	ATA_BMDMA_SHT(DRV_NAME),
 	ATA_BMDMA_SHT(DRV_NAME),
 };
 };
 
 
-static const struct ata_port_operations scc_pata_ops = {
+static struct ata_port_operations scc_pata_ops = {
 	.inherits		= &ata_bmdma_port_ops,
 	.inherits		= &ata_bmdma_port_ops,
 
 
 	.set_piomode		= scc_set_piomode,
 	.set_piomode		= scc_set_piomode,