diff mbox

Be able to build pmac driver without IDE built-in

Message ID 0a0401c9a8b9$fa181c30$f9b5a8c0@pii350 (mailing list archive)
State New, archived
Headers show

Commit Message

Gilles Espinasse March 19, 2009, 5:41 p.m. UTC
No reason to need IDE built-in to be able to compile pmac driver
Tested to work on 2.6.29-rc8 and 2.6.28.8 with ide and pmac as modules
inside an initramfs

 Signed-off-by: Gilles Espinasse <g.esp@free.fr>


--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Bartlomiej Zolnierkiewicz March 23, 2009, 8:12 p.m. UTC | #1
On Thursday 19 March 2009, Gilles Espinasse wrote:
> No reason to need IDE built-in to be able to compile pmac driver
> Tested to work on 2.6.29-rc8 and 2.6.28.8 with ide and pmac as modules
> inside an initramfs
> 
>  Signed-off-by: Gilles Espinasse <g.esp@free.fr>

applied by hand (please check your mailer settings
as it seems to corrupt whitespaces)

> --- linux-2.6.28/drivers/ide/Kconfig.old 2009-03-19 16:36:34.000000000 +0100
> +++ linux-2.6.28/drivers/ide/Kconfig 2009-03-19 16:35:49.000000000 +0100
> @@ -676,7 +676,7 @@
>  # TODO: BLK_DEV_IDEDMA_PCI -> BLK_DEV_IDEDMA_SFF
>  config BLK_DEV_IDE_PMAC
>   tristate "PowerMac on-board IDE support"
> - depends on PPC_PMAC && IDE=y
> + depends on PPC_PMAC && IDE

IDE config options are covered by if IDE ... endif so no need to check
for IDE explicitly now (I cleaned this while applying the patch)
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- linux-2.6.28/drivers/ide/Kconfig.old 2009-03-19 16:36:34.000000000 +0100
+++ linux-2.6.28/drivers/ide/Kconfig 2009-03-19 16:35:49.000000000 +0100
@@ -676,7 +676,7 @@ 
 # TODO: BLK_DEV_IDEDMA_PCI -> BLK_DEV_IDEDMA_SFF
 config BLK_DEV_IDE_PMAC
  tristate "PowerMac on-board IDE support"
- depends on PPC_PMAC && IDE=y
+ depends on PPC_PMAC && IDE
  select IDE_TIMINGS
  select BLK_DEV_IDEDMA_PCI
  help