1 /* 2 * Copyright (C) 2014 Google, Inc. 3 * 4 * This software is licensed under the terms of the GNU General Public 5 * License version 2, as published by the Free Software Foundation, and 6 * may be copied, distributed, and modified under those terms. 7 * 8 * This program is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 * GNU General Public License for more details. 12 * 13 */ 14 15 #ifndef __MACH_GOLDFISH_PDEV_BUS_H 16 #define __MACH_GOLDFISH_PDEV_BUS_H 17 18 struct pdev_extra_resources { 19 struct list_head list; 20 const char *name; 21 size_t num_resources; 22 const struct resource *resource; 23 }; 24 25 void goldfish_pdev_bus_add_extra_resources(struct pdev_extra_resources *extras); 26 27 #endif /* __MACH_GOLDFISH_PDEV_BUS_H */ 28