]> bbs.cooldavid.org Git - net-next-2.6.git/commit
pata_ns87415: define SUPERIO_IDE_MAX_RETRIES
authorFrank Lichtenheld <frank@lichtenheld.de>
Mon, 29 Oct 2007 01:49:20 +0000 (02:49 +0100)
committerJeff Garzik <jeff@garzik.org>
Mon, 29 Oct 2007 10:21:33 +0000 (06:21 -0400)
commita9efacbad1a735ec410acb26c9de72be8efb33d5
treeb1452714d56a38d6a939c6a280ec46cacba76cd7
parent5796d1c4c89efff823259fda35b08ea66ebf8b23
pata_ns87415: define SUPERIO_IDE_MAX_RETRIES

Code copied from drivers/ide/pci/ns87415.c uses this, so copy the
definition from there as well.

Fixes the following build error:
  CC [M]  drivers/ata/pata_ns87415.o
drivers/ata/pata_ns87415.c: In function ‘ns87560_read_buggy’:
drivers/ata/pata_ns87415.c:228: error: ‘SUPERIO_IDE_MAX_RETRIES’ undeclared (first use in this function)
drivers/ata/pata_ns87415.c:228: error: (Each undeclared identifier is reported only once
drivers/ata/pata_ns87415.c:228: error: for each function it appears in.)

Signed-off-by: Frank Lichtenheld <frank@lichtenheld.de>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/pata_ns87415.c