commit | a086932cf928c6a084dd4d71a67cd8db742de5ec | [log] [tgz] |
---|---|---|
author | Uwe Hermann <uwe@hermann-uwe.de> | Thu May 14 20:41:57 2009 +0000 |
committer | Uwe Hermann <uwe@hermann-uwe.de> | Thu May 14 20:41:57 2009 +0000 |
tree | d002290fdd64e4adca0ad8a00e16821e987347cb | |
parent | 0cdb0313f171d80b13f02014ad4987b84c935a83 [diff] |
Unify usage of iopl-like code by introducing get_io_perms() Factor out portable iopl()-style code into a global function which all programmers can use, add missing close() call. Corresponding to flashrom svn r511. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de>