On Sun, Apr 29, 2012 at 08:11:56PM +0200, Marc Dietrich wrote: > On Saturday 28 April 2012 22:34:56 Russell King - ARM Linux wrote: > > clk_get() is preferred in drivers which have struct device's to get them. > > And if you know the device name, then I see no problem with the aliasing > > approach. > > I'm just looking for a way to use clk_get if two devices, tegra-i2c and nvec > (or tegra-i2c-slave in the future) share the same clock. Easy if you know the device names for each. You just have two clk_lookup entries which point at the exact same struct clk, one for each device. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html