X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/81148fa15713ee68be49610206526d0725a5868f..efea5b4edd5cc94b4ed0917ebca0efb6bb6a2f82:/ich2/smram-ich2.c diff --git a/ich2/smram-ich2.c b/ich2/smram-ich2.c index 20c2b8a..d274c85 100644 --- a/ich2/smram-ich2.c +++ b/ich2/smram-ich2.c @@ -2,7 +2,7 @@ #include #include -#ifdef __linux__ +#ifndef __RAW__ static unsigned long memsz[] = { 0, // 0 @@ -94,7 +94,7 @@ smram_state_t smram_save_state() void smram_restore_state(smram_state_t state) { - return pci_write8(0, 0, 0, SMRAMC, state); + pci_write8(0, 0, 0, SMRAMC, state); } int smram_aseg_set_state (int open) {