Re: 2.6.11-mm3 breaks compile of drivers/char/esp.c
From: Andrew Morton (akpm_at_osdl.org)
Date: 03/15/05
- Previous message: Lee Revell: "Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)"
- In reply to: Bernhard Rosenkraenzer: "2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Next in thread: Alan Cox: "Re: 2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Reply: Alan Cox: "Re: 2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Reply: Andrew James Wade: "2.6.11-mm3 - redzone mismatch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Mar 2005 20:33:57 -0800 To: Bernhard Rosenkraenzer <bero@arklinux.org>
Bernhard Rosenkraenzer <bero@arklinux.org> wrote:
>
> drivers/char/esp.c: In function 'rs_stop':
> drivers/char/esp.c:213: error: 'struct esp_struct' has no member named 'lock'
> drivers/char/esp.c:219: error: 'struct esp_struct' has no member named 'lock'
> drivers/char/esp.c: In function 'rs_start':
> drivers/char/esp.c:230: error: 'struct esp_struct' has no member named 'lock'
> drivers/char/esp.c:236: error: 'struct esp_struct' has no member named 'lock'
Seems that Alan's diff was missing the changes to the header file. Like
this?
--- 25/include/linux/hayesesp.h~esp-build-fix 2005-03-14 20:31:18.000000000 -0800
+++ 25-akpm/include/linux/hayesesp.h 2005-03-14 20:31:30.000000000 -0800
@@ -77,6 +77,7 @@ struct hayes_esp_config {
struct esp_struct {
int magic;
+ spinlock_t lock;
int port;
int irq;
int flags; /* defined in tty.h */
_
I didn't pick this up because ESPSERIAL is still BROKEN_ON_SMP. Alan,
should we remove that now?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Lee Revell: "Re: User mode drivers: part 1, interrupt handling (patch for 2.6.11)"
- In reply to: Bernhard Rosenkraenzer: "2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Next in thread: Alan Cox: "Re: 2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Reply: Alan Cox: "Re: 2.6.11-mm3 breaks compile of drivers/char/esp.c"
- Reply: Andrew James Wade: "2.6.11-mm3 - redzone mismatch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|