Commit 1906cf27 authored by Lee Jones's avatar Lee Jones Committed by Jens Axboe

ata: pata_pdc2027x: Fix some incorrect function names and parameter docs

Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_pdc2027x.c:209: warning: expecting prototype for pdc2027x_pata_cable_detect(). Prototype was for pdc2027x_cable_detect() instead
 drivers/ata/pata_pdc2027x.c:262: warning: expecting prototype for pdc2720x_mode_filter(). Prototype was for pdc2027x_mode_filter() instead
 drivers/ata/pata_pdc2027x.c:513: warning: Function parameter or member 'board_idx' not described in 'pdc_adjust_pll'
 drivers/ata/pata_pdc2027x.c:513: warning: expecting prototype for adjust_pll(). Prototype was for pdc_adjust_pll() instead
 drivers/ata/pata_pdc2027x.c:599: warning: expecting prototype for detect_pll_input_clock(). Prototype was for pdc_detect_pll_input_clock() instead

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Albert Lee <albertcc@tw.ibm.com>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: Frank Tiernan <frankt@promise.com>
Cc: linux-ide@vger.kernel.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 92a5e882
...@@ -196,7 +196,7 @@ static inline void __iomem *dev_mmio(struct ata_port *ap, struct ata_device *ade ...@@ -196,7 +196,7 @@ static inline void __iomem *dev_mmio(struct ata_port *ap, struct ata_device *ade
} }
/** /**
* pdc2027x_pata_cable_detect - Probe host controller cable detect info * pdc2027x_cable_detect - Probe host controller cable detect info
* @ap: Port for which cable detect info is desired * @ap: Port for which cable detect info is desired
* *
* Read 80c cable indicator from Promise extended register. * Read 80c cable indicator from Promise extended register.
...@@ -251,7 +251,7 @@ static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline) ...@@ -251,7 +251,7 @@ static int pdc2027x_prereset(struct ata_link *link, unsigned long deadline)
} }
/** /**
* pdc2720x_mode_filter - mode selection filter * pdc2027x_mode_filter - mode selection filter
* @adev: ATA device * @adev: ATA device
* @mask: list of modes proposed * @mask: list of modes proposed
* *
...@@ -503,11 +503,11 @@ static long pdc_read_counter(struct ata_host *host) ...@@ -503,11 +503,11 @@ static long pdc_read_counter(struct ata_host *host)
} }
/** /**
* adjust_pll - Adjust the PLL input clock in Hz. * pdc_adjust_pll - Adjust the PLL input clock in Hz.
* *
* @pdc_controller: controller specific information
* @host: target ATA host * @host: target ATA host
* @pll_clock: The input of PLL in HZ * @pll_clock: The input of PLL in HZ
* @board_idx: board identifier
*/ */
static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx)
{ {
...@@ -590,7 +590,7 @@ static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int b ...@@ -590,7 +590,7 @@ static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int b
} }
/** /**
* detect_pll_input_clock - Detect the PLL input clock in Hz. * pdc_detect_pll_input_clock - Detect the PLL input clock in Hz.
* @host: target ATA host * @host: target ATA host
* Ex. 16949000 on 33MHz PCI bus for pdc20275. * Ex. 16949000 on 33MHz PCI bus for pdc20275.
* Half of the PCI clock. * Half of the PCI clock.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment