public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] SLC82C105 IDE driver: missing __init
@ 2002-05-22  9:16 Andrey Panin
  2002-05-22  9:36 ` Russell King
  2002-05-22 13:10 ` Alan Cox
  0 siblings, 2 replies; 5+ messages in thread
From: Andrey Panin @ 2002-05-22  9:16 UTC (permalink / raw)
  To: Martin Dalecki; +Cc: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]

Hi,

slc82c105_bridge_revision() functions lacks __init modifier.
Attached patch (against 2.5.17) fixes it.
Compiles, but untested. Please consider applying.

Best regards.

-- 
Andrey Panin            | Embedded systems software engineer
pazke@orbita1.ru        | PGP key: wwwkeys.eu.pgp.net

[-- Attachment #1.2: patch-slc82c105 --]
[-- Type: text/plain, Size: 521 bytes --]

diff -urN -X /usr/share/dontdiff linux.vanilla/drivers/ide/sl82c105.c linux/drivers/ide/sl82c105.c
--- linux.vanilla/drivers/ide/sl82c105.c	Tue May 21 01:56:18 2002
+++ linux/drivers/ide/sl82c105.c	Wed May 22 03:10:09 2002
@@ -185,7 +185,7 @@
  * Return the revision of the Winbond bridge
  * which this function is part of.
  */
-static unsigned int sl82c105_bridge_revision(struct pci_dev *dev)
+static unsigned int __init sl82c105_bridge_revision(struct pci_dev *dev)
 {
 	struct pci_dev *bridge;
 	unsigned char rev;

[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-22 14:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-22  9:16 [PATCH] SLC82C105 IDE driver: missing __init Andrey Panin
2002-05-22  9:36 ` Russell King
2002-05-22  8:40   ` Martin Dalecki
2002-05-22 13:10 ` Alan Cox
2002-05-22 14:09   ` Andrey Panin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox