Rene Bolldorf | 4ff40d5 | 2011-11-17 14:25:09 +0000 | [diff] [blame] | 1 | /* |
| 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 | |
| 14 | struct ath724x_pci_data { |
| 15 | int irq; |
| 16 | void *pdata; |
| 17 | }; |
| 18 | |
| 19 | void ath724x_pci_add_data(struct ath724x_pci_data *data, int size); |
| 20 | |
Gabor Juhos | 6335aef | 2012-03-14 10:29:24 +0100 | [diff] [blame^] | 21 | #ifdef CONFIG_PCI |
| 22 | int ath79_register_pci(void); |
| 23 | #else |
| 24 | static inline int ath79_register_pci(void) { return 0; } |
| 25 | #endif |
| 26 | |
Rene Bolldorf | 4ff40d5 | 2011-11-17 14:25:09 +0000 | [diff] [blame] | 27 | #endif /* __ASM_MACH_ATH79_PCI_ATH724X_H */ |