summaryrefslogtreecommitdiff
path: root/src/superio/smsc/sio10n268
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-11-08 20:55:24 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-11-08 20:55:24 +0000
commit7fa0819ecf076c283c942d4af5e9bcfaf8c4bd49 (patch)
tree523f6bd8880d1ccd39e97067feafc2bfb625d22e /src/superio/smsc/sio10n268
parentf648d619c994f856d6ca7d86fe18c532a974d31b (diff)
Add #include guards to all Super I/O header files (trivial).
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6049 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/superio/smsc/sio10n268')
-rw-r--r--src/superio/smsc/sio10n268/chip.h7
-rw-r--r--src/superio/smsc/sio10n268/sio10n268.h6
2 files changed, 8 insertions, 5 deletions
diff --git a/src/superio/smsc/sio10n268/chip.h b/src/superio/smsc/sio10n268/chip.h
index 7d5c4136f5..43ad168223 100644
--- a/src/superio/smsc/sio10n268/chip.h
+++ b/src/superio/smsc/sio10n268/chip.h
@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _SUPERIO_SMSC_SIO10N268
-#define _SUPERIO_SMSC_SIO10N268
+#ifndef SUPERIO_SMSC_SIO10N268_CHIP_H
+#define SUPERIO_SMSC_SIO10N268_CHIP_H
#include <device/device.h>
#include <pc80/keyboard.h>
@@ -31,5 +31,4 @@ struct superio_smsc_sio10n268_config {
struct pc_keyboard keyboard;
};
-#endif /* _SUPERIO_SMSC_SIO10N268 */
-
+#endif
diff --git a/src/superio/smsc/sio10n268/sio10n268.h b/src/superio/smsc/sio10n268/sio10n268.h
index b3a635e0bf..3d868b0ec1 100644
--- a/src/superio/smsc/sio10n268/sio10n268.h
+++ b/src/superio/smsc/sio10n268/sio10n268.h
@@ -17,9 +17,13 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-// XXX the SIO10N268 has no logical devices.
+#ifndef SUPERIO_SMSC_SIO10N268_SIO10N268_H
+#define SUPERIO_SMSC_SIO10N268_SIO10N268_H
+
+/* Note: The SIO10N268 has no logical devices. */
#define SIO10N268_FDC 0x00 /* Floppy */
#define SIO10N268_PP 0x03 /* Parallel port */
#define SIO10N268_KBDC 0x05 /* Keyboard */
+#endif