drop two warnings (trivial)
authorStefan Reinauer <stepan@coresystems.de>
Mon, 22 Feb 2010 09:28:15 +0000 (09:28 +0000)
committerStefan Reinauer <stepan@openbios.org>
Mon, 22 Feb 2010 09:28:15 +0000 (09:28 +0000)
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

src/northbridge/intel/i82830/northbridge.c

index 6b50dc532898bf2de416f05f6b8c4f8466c487c7..e482db6cf6baf4cd9bcc015159786dbf23e81132 100644 (file)
@@ -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;