diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-02-22 09:28:15 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-02-22 09:28:15 +0000 |
commit | 6363050c3f9c450417bcb860b878891adc0f42bd (patch) | |
tree | b3032ecc25041aa03fdaad76ad8cc0aab3febe56 /src/northbridge | |
parent | c834c79216c51e50ad5aeef8a925b9454e136597 (diff) | |
download | coreboot-6363050c3f9c450417bcb860b878891adc0f42bd.tar.xz |
drop two warnings (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5140 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/intel/i82830/northbridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/i82830/northbridge.c b/src/northbridge/intel/i82830/northbridge.c index 6b50dc5328..e482db6cf6 100644 --- a/src/northbridge/intel/i82830/northbridge.c +++ b/src/northbridge/intel/i82830/northbridge.c @@ -45,7 +45,7 @@ static struct device_operations northbridge_operations = { .ops_pci = 0, }; -static struct pci_driver northbridge_driver __pci_driver = { +static const struct pci_driver northbridge_driver __pci_driver = { .ops = &northbridge_operations, .vendor = PCI_VENDOR_ID_INTEL, .device = 0x3575, @@ -116,7 +116,7 @@ static void pci_domain_set_resources(device_t dev) */ tomk = ((unsigned long)pci_read_config8(mc_dev, DRB + 3)) << 15; tomk -= igd_memory; - printk_debug("Setting RAM size to %d\n", tomk); + printk_debug("Setting RAM size to %ld\n", tomk); /* Compute the top of low memory. */ tolmk = pci_tolm >> 10; |