diff options
Diffstat (limited to 'src/northbridge/via/cn400')
-rw-r--r-- | src/northbridge/via/cn400/cn400.h | 3 | ||||
-rw-r--r-- | src/northbridge/via/cn400/northbridge.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/northbridge/via/cn400/cn400.h b/src/northbridge/via/cn400/cn400.h index 3c9e8fd52a..baa58a1206 100644 --- a/src/northbridge/via/cn400/cn400.h +++ b/src/northbridge/via/cn400/cn400.h @@ -19,7 +19,8 @@ */ #ifndef __PRE_RAM__ -static void cn400_noop(void) +// HACK +static inline void cn400_noop(device_t dev) { } #endif diff --git a/src/northbridge/via/cn400/northbridge.c b/src/northbridge/via/cn400/northbridge.c index 5aec00835f..f867427824 100644 --- a/src/northbridge/via/cn400/northbridge.c +++ b/src/northbridge/via/cn400/northbridge.c @@ -238,7 +238,7 @@ static void cn400_domain_set_resources(device_t dev) if (mc_dev) { unsigned long tomk, tolmk; unsigned char rambits; - int i, idx; + int idx; rambits = pci_read_config8(mc_dev, 0x47); tomk = rambits * 32 * 1024; |