public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lars Knudsen <gandalf@revicon.com>
To: becker@scyld.com, linux-kernel@vger.kernel.org,
	Alan Cox <laughing@shared-source.org>
Subject: fealnx build problems with latest linux kernels
Date: Wed, 31 Oct 2001 11:48:54 +0100	[thread overview]
Message-ID: <3BDFD716.1D4D9393@revicon.com> (raw)

I encountered a problem when trying to build the fealnx driver
with the latest linux kernels 2.4.10-2.4.13, vanilla as well as
2.4.13-ac2 and 2.4.13-ac5. The problem is present only when
the kernel is configured without support for hot-pluggable
devices.

The problem seems to be a swapped __devinitdata and =. 
The following patch fixes the problem.

\Gandalf

--- fealnx.c    Wed Oct 31 11:03:01 2001
+++ fealnx.c-orig       Wed Oct 31 11:01:07 2001
@@ -1815,7 +1815,7 @@
        return 0;
 }

-static struct pci_device_id fealnx_pci_tbl[] __devinitdata = {
+static struct pci_device_id fealnx_pci_tbl[] = __devinitdata {
        {0x1516, 0x0800, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0},
        {0x1516, 0x0803, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1},
        {0x1516, 0x0891, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2},

                 reply	other threads:[~2001-10-31 10:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3BDFD716.1D4D9393@revicon.com \
    --to=gandalf@revicon.com \
    --cc=becker@scyld.com \
    --cc=laughing@shared-source.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox