Fix i386-pc compilation

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-05-05 09:58:02 +02:00
parent 0a58eb2e3a
commit 469ed9410b
2 changed files with 7 additions and 1 deletions

View file

@ -56,6 +56,12 @@ pci_mod_SOURCES = bus/pci.c
pci_mod_CFLAGS = $(COMMON_CFLAGS) pci_mod_CFLAGS = $(COMMON_CFLAGS)
pci_mod_LDFLAGS = $(COMMON_LDFLAGS) pci_mod_LDFLAGS = $(COMMON_LDFLAGS)
# For cs5536.mod
pkglib_MODULES += cs5536.mod
cs5536_mod_SOURCES = bus/cs5536.c
cs5536_mod_CFLAGS = $(COMMON_CFLAGS)
cs5536_mod_LDFLAGS = $(COMMON_LDFLAGS)
# For lspci.mod # For lspci.mod
pkglib_MODULES += lspci.mod pkglib_MODULES += lspci.mod
lspci_mod_SOURCES = commands/lspci.c lspci_mod_SOURCES = commands/lspci.c

View file

@ -80,7 +80,7 @@ grub_pci_device_map_range (grub_pci_device_t dev __attribute__ ((unused)),
static inline void static inline void
grub_pci_device_unmap_range (grub_pci_device_t dev __attribute__ ((unused)), grub_pci_device_unmap_range (grub_pci_device_t dev __attribute__ ((unused)),
void *mem __attribute__ ((unused)), volatile void *mem __attribute__ ((unused)),
grub_size_t size __attribute__ ((unused))) grub_size_t size __attribute__ ((unused)))
{ {
} }