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
/
it8718f
/
superio.c
diff --git
a/src/superio/ite/it8718f/superio.c
b/src/superio/ite/it8718f/superio.c
index d0f971d23339772272058b40fe9a7194d67c738d..3bf2f2fc656daba36f3cd28ecfb0f4612e5faf58 100644
(file)
--- a/
src/superio/ite/it8718f/superio.c
+++ b/
src/superio/ite/it8718f/superio.c
@@
-28,14
+28,11
@@
static void init(device_t dev)
{
static void init(device_t dev)
{
- struct superio_ite_it8718f_config *conf;
+ struct superio_ite_it8718f_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 IT8718F_FDC: /* TODO. */
switch (dev->path.pnp.device) {
case IT8718F_FDC: /* TODO. */