Author: stepan Date: Mon Feb 22 10:28:15 2010 New Revision: 5140 URL: http://tracker.coreboot.org/trac/coreboot/changeset/5140
Log: drop two warnings (trivial)
Signed-off-by: Stefan Reinauer stepan@coresystems.de Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/src/northbridge/intel/i82830/northbridge.c
Modified: trunk/src/northbridge/intel/i82830/northbridge.c ============================================================================== --- trunk/src/northbridge/intel/i82830/northbridge.c Mon Feb 22 10:27:26 2010 (r5139) +++ trunk/src/northbridge/intel/i82830/northbridge.c Mon Feb 22 10:28:15 2010 (r5140) @@ -45,7 +45,7 @@ .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 @@ */ 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;