From 8647942e82527926c84f0c9d9254db52cc4a7fca Mon Sep 17 00:00:00 2001 From: Corey Osgood Date: Fri, 10 Oct 2008 20:37:02 +0000 Subject: [PATCH] Fix (read: hide) some warning on F71805F until the port gets completed (trivial). Signed-off-by: Corey Osgood Acked-by: Corey Osgood git-svn-id: svn://coreboot.org/repository/coreboot-v3@914 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- superio/fintek/f71805f/f71805f.h | 2 ++ superio/fintek/f71805f/superio.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/superio/fintek/f71805f/f71805f.h b/superio/fintek/f71805f/f71805f.h index 75dae059e6..273a77136a 100644 --- a/superio/fintek/f71805f/f71805f.h +++ b/superio/fintek/f71805f/f71805f.h @@ -26,6 +26,8 @@ * - Revision: V0.25P */ +void f71805f_enable_serial(u8, u8, u16); + /* Logical Device Numbers (LDN). */ #define F71805F_FDC 0x00 /* Floppy */ #define F71805F_SP1 0x01 /* UART1 */ diff --git a/superio/fintek/f71805f/superio.c b/superio/fintek/f71805f/superio.c index eb421721d8..ed49559314 100644 --- a/superio/fintek/f71805f/superio.c +++ b/superio/fintek/f71805f/superio.c @@ -29,7 +29,6 @@ #include #include "f71805f.h" -static void enable_dev(struct device *dev); void f71805f_pnp_set_resources(struct device *dev); void f71805f_pnp_set_resources(struct device *dev); void f71805f_pnp_enable_resources(struct device *dev); @@ -73,7 +72,7 @@ void f71805f_pnp_enable(struct device *dev) static void f71805f_init(struct device *dev) { - struct superio_fintek_f71805f_config *conf = dev->device_configuration; + //struct superio_fintek_f71805f_config *conf = dev->device_configuration; struct resource *res0, *res1; if (!dev->enabled)