blob: 787fac2c08f036b639cdd5cf92f8fa0d2692b213 [file] [log] [blame]
Rene Bolldorf4ff40d52011-11-17 14:25:09 +00001/*
2 * Atheros 724x PCI support
3 *
4 * Copyright (C) 2011 René Bolldorf <xsecute@googlemail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License version 2 as published
8 * by the Free Software Foundation.
9 */
10
11#ifndef __ASM_MACH_ATH79_PCI_ATH724X_H
12#define __ASM_MACH_ATH79_PCI_ATH724X_H
13
14struct ath724x_pci_data {
15 int irq;
16 void *pdata;
17};
18
19void ath724x_pci_add_data(struct ath724x_pci_data *data, int size);
20
Gabor Juhos6335aef2012-03-14 10:29:24 +010021#ifdef CONFIG_PCI
22int ath79_register_pci(void);
23#else
24static inline int ath79_register_pci(void) { return 0; }
25#endif
26
Rene Bolldorf4ff40d52011-11-17 14:25:09 +000027#endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */