From: Bartlomiej Zolnierkiewicz Date: Wed, 13 Feb 2008 22:20:36 +0000 (+0100) Subject: ide: mark "ide=reverse" option as obsolete X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2952755ce364b81f904b49397f6b0004dead2c9f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ide: mark "ide=reverse" option as obsolete - it is valid only if "Probe IDE PCI devices in the PCI bus order (DEPRECATED)" config option is used - Greg needs to remove pci_get_device_reverse() for PCI core changes Cc: Alan Cox Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 4a8952a6c3da..477833f0daf5 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c @@ -1229,7 +1229,7 @@ static int __init ide_setup(char *s) if (!strcmp(s, "ide=reverse")) { ide_scan_direction = 1; printk(" : Enabled support for IDE inverse scan order.\n"); - return 1; + goto obsolete_option; } #endif