summaryrefslogtreecommitdiff
path: root/src/superio/smsc/sio10n268
diff options
context:
space:
mode:
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