summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/82xx/pq2.h
blob: 902ef0bd4949f7d50cd088d05b56a7828b443412 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _PQ2_H
#define _PQ2_H

void __noreturn pq2_restart(char *cmd);

#ifdef CONFIG_PCI
int pq2ads_pci_init_irq(void);
void pq2_init_pci(void);
#else
static inline int pq2ads_pci_init_irq(void)
{
	return 0;
}

static inline void pq2_init_pci(void)
{
}
#endif

#endif
OpenPOWER on IntegriCloud