Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
1906cf27 92a5e882

+5 -5
+5 -5
drivers/ata/pata_pdc2027x.c
··· 196 196 } 197 197 198 198 /** 199 - * pdc2027x_pata_cable_detect - Probe host controller cable detect info 199 + * pdc2027x_cable_detect - Probe host controller cable detect info 200 200 * @ap: Port for which cable detect info is desired 201 201 * 202 202 * Read 80c cable indicator from Promise extended register. ··· 251 251 } 252 252 253 253 /** 254 - * pdc2720x_mode_filter - mode selection filter 254 + * pdc2027x_mode_filter - mode selection filter 255 255 * @adev: ATA device 256 256 * @mask: list of modes proposed 257 257 * ··· 503 503 } 504 504 505 505 /** 506 - * adjust_pll - Adjust the PLL input clock in Hz. 506 + * pdc_adjust_pll - Adjust the PLL input clock in Hz. 507 507 * 508 - * @pdc_controller: controller specific information 509 508 * @host: target ATA host 510 509 * @pll_clock: The input of PLL in HZ 510 + * @board_idx: board identifier 511 511 */ 512 512 static void pdc_adjust_pll(struct ata_host *host, long pll_clock, unsigned int board_idx) 513 513 { ··· 590 590 } 591 591 592 592 /** 593 - * detect_pll_input_clock - Detect the PLL input clock in Hz. 593 + * pdc_detect_pll_input_clock - Detect the PLL input clock in Hz. 594 594 * @host: target ATA host 595 595 * Ex. 16949000 on 33MHz PCI bus for pdc20275. 596 596 * Half of the PCI clock.