projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a24bda
)
Staging: pata_rdc: fix build warnings
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 3 Jun 2009 17:14:19 +0000
(10:14 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 19 Jun 2009 18:00:56 +0000
(11:00 -0700)
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>
drivers/staging/pata_rdc/pata_rdc.c
patch
|
blob
|
history
diff --git
a/drivers/staging/pata_rdc/pata_rdc.c
b/drivers/staging/pata_rdc/pata_rdc.c
index
c1a18e6
..
257e622
100644
(file)
--- 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,