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
/
it8673f
/
superio.c
diff --git
a/src/superio/ite/it8673f/superio.c
b/src/superio/ite/it8673f/superio.c
index 4b986ded7ef5403ae057969b29c30970c6c3fb0b..e1d2f50a0f07a5e6acf6d60e98fc7b1cb400b9d5 100644
(file)
--- a/
src/superio/ite/it8673f/superio.c
+++ b/
src/superio/ite/it8673f/superio.c
@@
-28,14
+28,11
@@
static void init(device_t dev)
{
static void init(device_t dev)
{
- struct superio_ite_it8673f_config *conf;
+ struct superio_ite_it8673f_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 IT8673F_FDC: /* TODO. */
switch (dev->path.pnp.device) {
case IT8673F_FDC: /* TODO. */