mirror of
https://review.coreboot.org/flashrom.git
synced 2025-08-16 03:44:41 +02:00
Remove unnecessary #include files
Serprog compilation is now controlled by a Makefile variable. Replace munmap with physunmap where appropriate. Corresponding to flashrom svn r671. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Reinauer <stepan@coresystems.de>
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
#include <string.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include "flash.h"
|
||||
|
||||
@@ -968,7 +967,7 @@ static int get_flashbase_sc520(struct pci_dev *dev, const char *name)
|
||||
}
|
||||
|
||||
/* 4. Clean up */
|
||||
munmap(mmcr, getpagesize());
|
||||
physunmap(mmcr, getpagesize());
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user