2009-04-17 Pavel Roskin <proski@gnu.org>
* disk/ata.c (grub_ata_pciinit): Use NESTED_FUNC_ATTR. * bus/usb/ohci.c (grub_ohci_pci_iter): Likewise. * bus/usb/uhci.c (grub_uhci_pci_iter): Likewise. * commands/lspci.c (grub_lspci_iter): Likewise.
This commit is contained in:
parent
a96df3f249
commit
d1a282fc83
5 changed files with 15 additions and 6 deletions
|
@ -137,8 +137,9 @@ grub_uhci_portstatus (grub_usb_controller_t dev,
|
|||
|
||||
/* Iterate over all PCI devices. Determine if a device is an UHCI
|
||||
controller. If this is the case, initialize it. */
|
||||
static int grub_uhci_pci_iter (int bus, int device, int func,
|
||||
grub_pci_id_t pciid __attribute__((unused)))
|
||||
static int NESTED_FUNC_ATTR
|
||||
grub_uhci_pci_iter (int bus, int device, int func,
|
||||
grub_pci_id_t pciid __attribute__((unused)))
|
||||
{
|
||||
grub_uint32_t class;
|
||||
grub_uint32_t subclass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue