1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 2e00c5498SScott Wood #ifndef _PQ2_H 3e00c5498SScott Wood #define _PQ2_H 4e00c5498SScott Wood 595ec77c0SDaniel Axtens void __noreturn pq2_restart(char *cmd); 6e00c5498SScott Wood 7e00c5498SScott Wood #ifdef CONFIG_PCI 8e00c5498SScott Wood int pq2ads_pci_init_irq(void); 9e00c5498SScott Wood void pq2_init_pci(void); 10e00c5498SScott Wood #else pq2ads_pci_init_irq(void)11e00c5498SScott Woodstatic inline int pq2ads_pci_init_irq(void) 12e00c5498SScott Wood { 13e00c5498SScott Wood return 0; 14e00c5498SScott Wood } 15e00c5498SScott Wood pq2_init_pci(void)16e00c5498SScott Woodstatic inline void pq2_init_pci(void) 17e00c5498SScott Wood { 18e00c5498SScott Wood } 19e00c5498SScott Wood #endif 20e00c5498SScott Wood 21e00c5498SScott Wood #endif 22