X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fsuperio%2Fite%2Fit8661f%2Fsuperio.c;h=e367ab855560b709a9f27527bdf352024026cf91;hb=5c6bae213ea55e1436e010706560d86120b0b286;hp=7c5294d65bcbcc3262e4f80ea79a456c5957bd94;hpb=6018e1ba7f797db3a7f1ae34bdb10ec1fa5c8a6c;p=coreboot.git diff --git a/src/superio/ite/it8661f/superio.c b/src/superio/ite/it8661f/superio.c index 7c5294d65..e367ab855 100644 --- a/src/superio/ite/it8661f/superio.c +++ b/src/superio/ite/it8661f/superio.c @@ -18,8 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* This chip doesn't seem to have keyboard and mouse support. */ - #include #include #include @@ -29,14 +27,11 @@ static void init(device_t dev) { - struct superio_ite_it8661f_config *conf; + struct superio_ite_it8661f_config *conf = dev->chip_info; struct resource *res0, *res1; - if (!dev->enabled) { + if (!dev->enabled) return; - } - - conf = dev->chip_info; switch (dev->path.pnp.device) { case IT8661F_FDC: /* TODO. */