[-mm patch] fix arch/ia64/sn/kernel/tiocx.c compilation
From: Adrian Bunk
Date: Wed Jan 11 2006 - 20:01:24 EST
On Wed, Jan 11, 2006 at 04:21:35AM -0800, Andrew Morton wrote:
>...
> Changes since 2.6.15-mm2:
>...
> +gregkh-driver-add-tiocx-bus_type-probe-remove-methods.patch
>...
> driver tree updates
>...
This patch caused the following compile error:
<-- snip -->
...
CC arch/ia64/sn/kernel/tiocx.o
arch/ia64/sn/kernel/tiocx.c:151: error: 'cx_device_remove' undeclared here (not in a function)
make[2]: *** [arch/ia64/sn/kernel/tiocx.o] Error 1
<-- snip -->
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
--- linux-2.6.15-mm3/arch/ia64/sn/kernel/tiocx.c.old 2006-01-12 01:58:20.000000000 +0100
+++ linux-2.6.15-mm3/arch/ia64/sn/kernel/tiocx.c 2006-01-12 01:58:35.000000000 +0100
@@ -148,7 +148,7 @@
.match = tiocx_match,
.uevent = tiocx_uevent,
.probe = cx_device_probe,
- .remove = cx_device_remove,
+ .remove = cx_driver_remove,
};
/**
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/