projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Random ITE Super I/O fixes.
[coreboot.git]
/
src
/
superio
/
ite
/
it8671f
/
superio.c
diff --git
a/src/superio/ite/it8671f/superio.c
b/src/superio/ite/it8671f/superio.c
index 9fd60425e1ce32aad3e7c7289b7593d16a8973fb..9c5296df6cf4724c0bc1d0d12badaa928322e526 100644
(file)
--- a/
src/superio/ite/it8671f/superio.c
+++ b/
src/superio/ite/it8671f/superio.c
@@
-28,14
+28,11
@@
static void init(device_t dev)
{
static void init(device_t dev)
{
- struct superio_ite_it8671f_config *conf;
+ struct superio_ite_it8671f_config *conf
= dev->chip_info
;
struct resource *res0, *res1;
struct resource *res0, *res1;
- if (!dev->enabled)
{
+ if (!dev->enabled)
return;
return;
- }
-
- conf = dev->chip_info;
switch (dev->path.pnp.device) {
case IT8671F_FDC: /* TODO. */
switch (dev->path.pnp.device) {
case IT8671F_FDC: /* TODO. */