lkml.org 
[lkml]   [2007]   [Sep]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH -mm] drivers/char/nozomi.c: __devexit_p usage build fix

A typo results in build breakage:

drivers/char/nozomi.c:2204: error: syntax error before ‘__attribute__’
make[2]: *** [drivers/char/nozomi.o] Error 1

when CONFIG_HOTPLUG=n. This was actually meant to be __devexit_p.

Signed-off-by: Satyam Sharma <satyam@infradead.org>

---

drivers/char/nozomi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.23-rc4-mm1/drivers/char/nozomi.c‾fix 2007-09-02 16:16:59.000000000 +0530
+++ linux-2.6.23-rc4-mm1/drivers/char/nozomi.c 2007-09-02 16:17:07.000000000 +0530
@@ -2201,7 +2201,7 @@ static struct pci_driver nozomi_driver =
.name = NOZOMI_NAME,
.id_table = nozomi_pci_tbl,
.probe = nozomi_card_init,
- .remove = __devexit(nozomi_card_exit),
+ .remove = __devexit_p(nozomi_card_exit),
};

static __init int nozomi_init(void)
\
 
 \ /
  Last update: 2007-09-02 14:51    [W:0.983 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site