summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-06-16 16:48:44 +1000
committerDavid Hendricks <dhendrix@chromium.org>2014-06-21 00:02:14 +0200
commit49380b87d114cf4c1bd6f0692f43e89e73f662b8 (patch)
tree8a1a81b4a4081836765ce3ee5b5f4c26dc977bfb /src
parent29179f0735e5a73b024008f218a79dfb04193c69 (diff)
superio/smsc/fdc37n972: Trivial cleanup reorder headers
Alphabetise headers and a few trivial cleanups. Change-Id: Ib8c8362962297cb59671d8274df8e4945373f94b Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/6042 Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks <dhendrix@chromium.org>
Diffstat (limited to 'src')
-rw-r--r--src/superio/smsc/fdc37n972/Makefile.inc1
-rw-r--r--src/superio/smsc/fdc37n972/fdc37n972.c3
-rw-r--r--src/superio/smsc/fdc37n972/fdc37n972.h6
3 files changed, 5 insertions, 5 deletions
diff --git a/src/superio/smsc/fdc37n972/Makefile.inc b/src/superio/smsc/fdc37n972/Makefile.inc
index 5d4b37ec82..120bd94b52 100644
--- a/src/superio/smsc/fdc37n972/Makefile.inc
+++ b/src/superio/smsc/fdc37n972/Makefile.inc
@@ -18,4 +18,3 @@
##
ramstage-$(CONFIG_SUPERIO_SMSC_FDC37N972) += fdc37n972.c
-
diff --git a/src/superio/smsc/fdc37n972/fdc37n972.c b/src/superio/smsc/fdc37n972/fdc37n972.c
index 78d8350da7..97dea9fc3b 100644
--- a/src/superio/smsc/fdc37n972/fdc37n972.c
+++ b/src/superio/smsc/fdc37n972/fdc37n972.c
@@ -17,10 +17,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <stdlib.h>
#include <device/device.h>
#include <device/pnp.h>
#include <pc80/keyboard.h>
+#include <stdlib.h>
+
#include "fdc37n972.h"
static void init(device_t dev)
diff --git a/src/superio/smsc/fdc37n972/fdc37n972.h b/src/superio/smsc/fdc37n972/fdc37n972.h
index 6286252c8c..017394eb3f 100644
--- a/src/superio/smsc/fdc37n972/fdc37n972.h
+++ b/src/superio/smsc/fdc37n972/fdc37n972.h
@@ -17,8 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef SUPERIO_SMSC_FDC37N972_FDC37N972_H
-#define SUPERIO_SMSC_FDC37N972_FDC37N972_H
+#ifndef SUPERIO_SMSC_FDC37N972_H
+#define SUPERIO_SMSC_FDC37N972_H
#define FDC37N972_FDC 0x00 /* Floppy */
#define FDC37N972_PP 0x03 /* Parallel port */
@@ -29,4 +29,4 @@
#define FDC37N972_EC 0x08 /* Environmental Controller */
#define FDC37N972_MBX 0x09 /* Mailbox register */
-#endif
+#endif /* SUPERIO_SMSC_FDC37N972_H */