2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-20 19:23:57 +08:00
linux-next/drivers/ide
Adrian Bunk efc0fc1c2f fix BLK_DEV_HD_ONLY on ARM dependencies
This patch limits BLK_DEV_HD_ONLY to the ARM platforms offering 
IRQ_HARDDISK, fixing the following compile error on others:

<--  snip  -->

...
  CC      drivers/ide/legacy/hd.o
...
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'hd_times_out':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: 'IRQ_HARDDISK' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: (Each undeclared identifier is reported only once
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:542: error: for each function it appears in.)
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'do_hd_request':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:661: error: 'IRQ_HARDDISK' undeclared (first use in this function)
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c: In function 'hd_init':
/home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/ide/legacy/hd.c:765: error: 'IRQ_HARDDISK' undeclared (first use in this function)
make[3]: *** [drivers/ide/legacy/hd.o] Error 1

<--  snip  -->

Reported-by: Adrian Bunk <bunk@kernel.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2008-06-10 20:56:38 +02:00
..
arm palm_bk3710: add warm-plug support 2008-06-10 20:56:38 +02:00
h8300 ide: remove ->INW and ->OUTW methods 2008-04-28 23:44:41 +02:00
legacy ide: export ide_doubler 2008-06-10 20:56:38 +02:00
mips SWARM IDE: Fix up following changes to ide_hwif_t 2008-05-14 23:06:14 +02:00
pci delkin_cb: add missing __init/__exit tags 2008-06-10 20:56:38 +02:00
ppc ide: fix host drivers missing hwif->chipset initialization 2008-06-10 20:56:37 +02:00
ide-acpi.c ide: add "noacpi" / "acpigtf" / "acpionboot" parameters 2008-04-27 15:38:30 +02:00
ide-cd_ioctl.c ide-cd: mark REQ_TYPE_ATA_PC write requests with REQ_RW flag 2008-03-07 21:53:49 +01:00
ide-cd_verbose.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.c block: replace sizeof(rq->cmd) with BLK_MAX_CDB 2008-04-29 14:48:55 +02:00
ide-cd.h ide-cd: remove the internal 64k buffer 2008-04-26 17:36:37 +02:00
ide-disk.c ide-disk: fix issues found by checkpatch.pl 2008-04-26 17:36:37 +02:00
ide-dma.c ide: remove ->dma_prdtable field from ide_hwif_t 2008-04-28 23:44:42 +02:00
ide-floppy.c ide: add ide_pad_transfer() helper 2008-04-28 23:44:41 +02:00
ide-generic.c ide-generic: add missing hwif->chipset setup 2008-06-10 20:56:36 +02:00
ide-io.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-iops.c make ide-iops.c:SELECT_MASK() static 2008-05-14 23:06:15 +02:00
ide-lib.c ide: add ->tf_load and ->tf_read methods 2008-04-28 23:44:40 +02:00
ide-pnp.c ide: fix host drivers missing hwif->chipset initialization 2008-06-10 20:56:37 +02:00
ide-probe.c ide: fix host drivers missing hwif->chipset initialization 2008-06-10 20:56:37 +02:00
ide-proc.c ide: remove the ide_etrax100 chipset type 2008-06-10 20:56:36 +02:00
ide-scan-pci.c ide: replace remaining __FUNCTION__ occurrences 2008-04-26 22:25:20 +02:00
ide-tape.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-taskfile.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
ide-timing.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
ide.c ide: use blk_rq_init() to initialize the request 2008-04-29 14:48:55 +02:00
Kconfig fix BLK_DEV_HD_ONLY on ARM dependencies 2008-06-10 20:56:38 +02:00
Makefile remove the broken ETRAX_IDE driver 2008-04-28 23:44:42 +02:00
setup-pci.c ide: constify struct ide_dma_ops 2008-04-26 22:25:24 +02:00