| Submitter | Jung-Ik (John) Lee |
|---|---|
| Date | Sept. 22, 2009, 2:36 a.m. |
| Message ID | <8b5805ff0909211936s4968d11fnd3e6604d38e31c79@mail.gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/34030/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
Patch
diff --git a/drivers/ata/pata_atp867x.c b/drivers/ata/pata_atp867x.c index e6c4706..c1c691f 100644 --- a/drivers/ata/pata_atp867x.c +++ b/drivers/ata/pata_atp867x.c @@ -156,8 +156,10 @@ static void atp867x_set_dmamode(struct ata_port *ap, struct ata_device *adev) iowrite8(b, dp->dma_mode); } -static int atp867x_get_active_clocks_shifted(unsigned int clk) +static int atp867x_get_active_clocks_shifted(struct ata_port *ap, + unsigned int clk) { + struct atp867x_priv *dp = ap->private_data; unsigned char clocks = clk;