[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20081028.114135.169795007.davem@davemloft.net>
Date: Tue, 28 Oct 2008 11:41:35 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: avorontsov@...mvista.com
Cc: grant.likely@...retlab.ca, david-b@...bell.net,
benh@...nel.crashing.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/6] of/of_i2c: add support for dedicated OF I2C devices
From: Anton Vorontsov <avorontsov@...mvista.com>
Date: Tue, 28 Oct 2008 20:46:15 +0300
> of_i2c will create the OF platform device if it knows that the
> device won't work without platform data. The OF platform driver
> will fill the platform data and will register real I2C device.
>
> Signed-off-by: Anton Vorontsov <avorontsov@...mvista.com>
Wrt. the comment in the ppc protected code, sparc doesn't need stuff
like this, we already create an of_device for every node in the device
tree.
Just use "of_find_device_by_node()" on sparc, which will work on any
device_node object.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists