pci: pci_header_show can be static
To avoid W=1 build warnings, declare this function as static, since it is not used outside of this translation module. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
parent
f5164f6b25
commit
a95f8ee911
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static struct pci_reg_info regs_cardbus[] = {
|
|||
*
|
||||
* @dev: Bus+Device+Function number
|
||||
*/
|
||||
void pci_header_show(struct udevice *dev)
|
||||
static void pci_header_show(struct udevice *dev)
|
||||
{
|
||||
unsigned long class, header_type;
|
||||
|
||||
|
|
Loading…
Reference in a new issue