remove trailing whitespace
Change-Id: Ib91889a374515d36a2b12b53aeb12b6ea6e22732 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/364 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
committed by
Patrick Georgi
parent
784544b934
commit
5ff7c13e85
@@ -28,7 +28,7 @@
|
||||
extern struct chip_operations superio_smsc_fdc37m60x_ops;
|
||||
|
||||
struct superio_smsc_fdc37m60x_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
extern struct chip_operations superio_smsc_fdc37n972_ops;
|
||||
|
||||
struct superio_smsc_fdc37n972_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@ struct chip_operations;
|
||||
extern struct chip_operations superio_smsc_kbc1100_ops;
|
||||
|
||||
struct superio_smsc_kbc1100_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -40,11 +40,11 @@ static inline void kbc1100_early_init(unsigned port)
|
||||
dev = PNP_DEV (port, KBC1100_KBC);
|
||||
|
||||
pnp_enter_conf_state(dev);
|
||||
|
||||
|
||||
/* Serial IRQ enabled */
|
||||
outb(0x25, port);
|
||||
outb(0x04, port + 1);
|
||||
|
||||
|
||||
/* Enable SMSC UART 0 */
|
||||
dev = PNP_DEV (port, SMSCSUPERIO_SP1);
|
||||
pnp_set_logical_device(dev);
|
||||
@@ -70,6 +70,6 @@ static inline void kbc1100_early_init(unsigned port)
|
||||
pnp_exit_conf_state(dev);
|
||||
|
||||
/* disable the 1s timer */
|
||||
outb(0xE7, 0x64);
|
||||
outb(0xE7, 0x64);
|
||||
}
|
||||
|
||||
|
@@ -97,14 +97,14 @@ static void kbc1100_init(device_t dev)
|
||||
struct superio_smsc_kbc1100_config *conf = dev->chip_info;
|
||||
struct resource *res0, *res1;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (!dev->enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch(dev->path.pnp.device) {
|
||||
|
||||
|
||||
case KBC1100_KBC:
|
||||
res0 = find_resource(dev, PNP_IDX_IO0);
|
||||
res1 = find_resource(dev, PNP_IDX_IO1);
|
||||
|
@@ -28,7 +28,7 @@ extern struct chip_operations superio_smsc_lpc47b272_ops;
|
||||
#include <uart8250.h>
|
||||
|
||||
struct superio_smsc_lpc47b272_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -30,7 +30,7 @@ extern struct chip_operations superio_smsc_lpc47b397_ops;
|
||||
#include <uart8250.h>
|
||||
|
||||
struct superio_smsc_lpc47b397_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -32,7 +32,7 @@ extern struct chip_operations superio_smsc_lpc47m10x_ops;
|
||||
#include <uart8250.h>
|
||||
|
||||
struct superio_smsc_lpc47m10x_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_lpc47m15x_ops;
|
||||
#include <uart8250.h>
|
||||
|
||||
struct superio_smsc_lpc47m15x_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -27,7 +27,7 @@ extern struct chip_operations superio_smsc_lpc47n217_ops;
|
||||
#include <uart8250.h>
|
||||
|
||||
struct superio_smsc_lpc47n217_config {
|
||||
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
@@ -27,7 +27,7 @@
|
||||
extern struct chip_operations superio_smsc_lpc47n227_ops;
|
||||
|
||||
struct superio_smsc_lpc47n227_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -85,7 +85,7 @@ static void enable_dev(device_t dev)
|
||||
*
|
||||
* NOTE: Cannot use pnp_set_resources() here because it assumes chip
|
||||
* support for logical devices, which the LPC47N227 doesn't have.
|
||||
*
|
||||
*
|
||||
* @param dev Pointer to structure describing a Super I/O device.
|
||||
*/
|
||||
void lpc47n227_pnp_set_resources(device_t dev)
|
||||
|
@@ -27,7 +27,7 @@
|
||||
extern struct chip_operations superio_smsc_sio10n268_ops;
|
||||
|
||||
struct superio_smsc_sio10n268_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
@@ -28,7 +28,7 @@
|
||||
extern struct chip_operations superio_smsc_smscsuperio_ops;
|
||||
|
||||
struct superio_smsc_smscsuperio_config {
|
||||
|
||||
|
||||
struct pc_keyboard keyboard;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user