superio: Use 'include <stdlib.h>' when appropriate
Change-Id: I55e7b680e128f29a9fd549edfb676e6571330677 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32830 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "fdc37n972.h"
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "kbc1100.h"
|
||||
|
||||
/* Forward declarations */
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lpc47m10x.h"
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lpc47m15x.h"
|
||||
|
||||
/* Forward declarations */
|
||||
|
@@ -16,7 +16,7 @@
|
||||
#include <arch/io.h>
|
||||
#include <device/pnp.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lpc47n207.h"
|
||||
|
||||
/*
|
||||
|
@@ -24,7 +24,7 @@
|
||||
#include <device/pnp.h>
|
||||
#include <console/console.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "lpc47n217.h"
|
||||
|
||||
/* Forward declarations */
|
||||
|
@@ -20,7 +20,6 @@
|
||||
#include <device/pnp.h>
|
||||
#include <console/console.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <superio/conf_mode.h>
|
||||
|
||||
|
@@ -19,7 +19,7 @@
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "mec1308.h"
|
||||
|
||||
static void mec1308_init(struct device *dev)
|
||||
|
@@ -18,7 +18,6 @@
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <superio/conf_mode.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "sio1036.h"
|
||||
|
||||
|
@@ -13,10 +13,10 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <device/device.h>
|
||||
#include <device/pnp.h>
|
||||
#include <pc80/keyboard.h>
|
||||
|
||||
#include "sio10n268.h"
|
||||
|
||||
static void init(struct device *dev)
|
||||
|
@@ -35,7 +35,6 @@
|
||||
#include <superio/conf_mode.h>
|
||||
#include <console/console.h>
|
||||
#include <pc80/keyboard.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* The following Super I/O chips are currently supported by this driver: */
|
||||
#define LPC47M172 0x14
|
||||
|
Reference in New Issue
Block a user