linux-mips
[Top] [All Lists]

[2.6 patch] 2.6.10-mm2: let I2C_ALGO_SGI depend on MIPS

To: Andrew Morton <akpm@osdl.org>, greg@kroah.com, Ladislav Michl <ladis@linux-mips.org>
Subject: [2.6 patch] 2.6.10-mm2: let I2C_ALGO_SGI depend on MIPS
From: Adrian Bunk <bunk@stusta.de>
Date: Thu, 6 Jan 2005 19:15:20 +0100
Cc: linux-kernel@vger.kernel.org, sensors@stimpy.netroedge.com, ralf@linux-mips.org, linux-mips@linux-mips.org
In-reply-to: <20050106002240.00ac4611.akpm@osdl.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20050106002240.00ac4611.akpm@osdl.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6+20040907i
On Thu, Jan 06, 2005 at 12:22:40AM -0800, Andrew Morton wrote:
>...
> All 560 patches:
>...
> bk-i2c.patch
>...


There's no reason for offering a MIPS-only driver on other architectures 
(even though it does compile).

Even better dependencies on specific MIPS variables might be possible 
that obsolete this patch, but this patch fixes at least the !MIPS case.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-mm2-full/drivers/i2c/algos/Kconfig.old 2005-01-06 
19:07:16.000000000 +0100
+++ linux-2.6.10-mm2-full/drivers/i2c/algos/Kconfig     2005-01-06 
19:08:22.000000000 +0100
@@ -61,7 +61,7 @@
 
 config I2C_ALGO_SGI
        tristate "I2C SGI interfaces"
-       depends on I2C
+       depends on I2C && MIPS
        help
          Supports the SGI interfaces like the ones found on SGI Indy VINO
          or SGI O2 MACE.



<Prev in Thread] Current Thread [Next in Thread>