lkml.org 
[lkml]   [2015]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 12/30] PCI: Introduce pci_host_bridge_ops to support host specific operations
>> +	if (host->ops && host->ops->phb_prepare) {
>> + error = host->ops->phb_prepare(host);
>> + if(error) {
>
> Whitespace error.

Will fix.

>
>> --- a/include/linux/pci.h
>> +++ b/include/linux/pci.h
>> @@ -400,6 +400,13 @@ static inline int pci_channel_offline(struct pci_dev *pdev)
>> return (pdev->error_state != pci_channel_io_normal);
>> }
>>
>> +struct pci_host_bridge;
>> +struct pci_host_bridge_ops {
>> + void (*phb_set_root_bus_speed)(struct pci_host_bridge *host);
>> + int (*phb_prepare)(struct pci_host_bridge *host);
>> + void (*phb_of_scan_bus)(struct pci_host_bridge *);
>
> These function pointers don't need a "phb_" prefix.

Will update them.

>
> .
>


--
Thanks!
Yijing



\
 
 \ /
  Last update: 2015-03-03 09:21    [W:0.331 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site