diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-10-30 18:01:51 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-30 20:37:18 -0500 |
commit | d61780c0d384939ef31c46b47442854d5def4623 (patch) | |
tree | e655b4ea947c8d86cabbc3f58f406c18ae136b5f /arch | |
parent | 34ad92c2388710cf24d27c896b8e6605c19a795c (diff) |
[PATCH] remove some more check_region stuff
Removed some more references to check_region().
I checked these changes into the 'checkreg' branch of
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6.git
The only valid references remaining are in:
drivers/scsi/advansys.c
drivers/scsi/BusLogic.c
drivers/cdrom/sbpcd.c
sound/oss/pss.c
Remove last vestiges of ide_check_region()
drivers/char/specialix: trim trailing whitespace
drivers/char/specialix: eliminate use of check_region()
Remove outdated and unused references to check_region()
[sound oss] remove check_region() usage from cs4232, wavfront
[netdrvr eepro] trim trailing whitespace
[netdrvr eepro] remove check_region() usage
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ppc/platforms/hdpu.c | 5 | ||||
-rw-r--r-- | arch/sparc/kernel/pcic.c | 4 |
2 files changed, 2 insertions, 7 deletions
diff --git a/arch/ppc/platforms/hdpu.c b/arch/ppc/platforms/hdpu.c index ff3796860123..eed4ff6903f1 100644 --- a/arch/ppc/platforms/hdpu.c +++ b/arch/ppc/platforms/hdpu.c | |||
@@ -609,11 +609,6 @@ static void parse_bootinfo(unsigned long r3, | |||
609 | } | 609 | } |
610 | 610 | ||
611 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) | 611 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) |
612 | static int hdpu_ide_check_region(ide_ioreg_t from, unsigned int extent) | ||
613 | { | ||
614 | return check_region(from, extent); | ||
615 | } | ||
616 | |||
617 | static void | 612 | static void |
618 | hdpu_ide_request_region(ide_ioreg_t from, unsigned int extent, const char *name) | 613 | hdpu_ide_request_region(ide_ioreg_t from, unsigned int extent, const char *name) |
619 | { | 614 | { |
diff --git a/arch/sparc/kernel/pcic.c b/arch/sparc/kernel/pcic.c index 36a40697b8d6..25e31d5ec99b 100644 --- a/arch/sparc/kernel/pcic.c +++ b/arch/sparc/kernel/pcic.c | |||
@@ -497,8 +497,8 @@ static void pcic_map_pci_device(struct linux_pcic *pcic, | |||
497 | * CheerIO makes a similar conversion. | 497 | * CheerIO makes a similar conversion. |
498 | * See ebus.c for details. | 498 | * See ebus.c for details. |
499 | * | 499 | * |
500 | * Note that check_region()/request_region() | 500 | * Note that request_region() |
501 | * work for these devices. | 501 | * works for these devices. |
502 | * | 502 | * |
503 | * XXX Neat trick, but it's a *bad* idea | 503 | * XXX Neat trick, but it's a *bad* idea |
504 | * to shit into regions like that. | 504 | * to shit into regions like that. |