[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.999.0709021810080.24993@enigma.security.iitk.ac.in>
Date: Sun, 2 Sep 2007 18:30:56 +0530 (IST)
From: Satyam Sharma <satyam@...radead.org>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Paul Hardwick <p.hardwick@...ion.com>
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@...radead.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)
Powered by blists - more mailing lists