xref: /kernel/linux/linux-5.10/arch/powerpc/platforms/82xx/pq2.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/arch/powerpc/platforms/82xx/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _PQ2_H
38c2ecf20Sopenharmony_ci#define _PQ2_H
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_civoid __noreturn pq2_restart(char *cmd);
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#ifdef CONFIG_PCI
88c2ecf20Sopenharmony_ciint pq2ads_pci_init_irq(void);
98c2ecf20Sopenharmony_civoid pq2_init_pci(void);
108c2ecf20Sopenharmony_ci#else
118c2ecf20Sopenharmony_cistatic inline int pq2ads_pci_init_irq(void)
128c2ecf20Sopenharmony_ci{
138c2ecf20Sopenharmony_ci	return 0;
148c2ecf20Sopenharmony_ci}
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cistatic inline void pq2_init_pci(void)
178c2ecf20Sopenharmony_ci{
188c2ecf20Sopenharmony_ci}
198c2ecf20Sopenharmony_ci#endif
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci#endif
22

Indexes created Thu Nov 07 10:32:03 CST 2024