mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 22:51:37 +00:00
pci: correct a function description
In the description of function pci_match_one_id(), there are some problems on arguments list and return value description, so correct them. Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
3d1df0e363
commit
0367bd4d60
1 changed files with 3 additions and 2 deletions
|
@ -551,9 +551,10 @@ int dm_pci_hose_probe_bus(struct udevice *bus)
|
||||||
* pci_match_one_device - Tell if a PCI device structure has a matching
|
* pci_match_one_device - Tell if a PCI device structure has a matching
|
||||||
* PCI device id structure
|
* PCI device id structure
|
||||||
* @id: single PCI device id structure to match
|
* @id: single PCI device id structure to match
|
||||||
* @dev: the PCI device structure to match against
|
* @find: the PCI device id structure to match against
|
||||||
*
|
*
|
||||||
* Returns the matching pci_device_id structure or %NULL if there is no match.
|
* Returns true if the finding pci_device_id structure matched or false if
|
||||||
|
* there is no match.
|
||||||
*/
|
*/
|
||||||
static bool pci_match_one_id(const struct pci_device_id *id,
|
static bool pci_match_one_id(const struct pci_device_id *id,
|
||||||
const struct pci_device_id *find)
|
const struct pci_device_id *find)
|
||||||
|
|
Loading…
Add table
Reference in a new issue