From: Grant Likely Date: Tue, 8 Jun 2010 13:48:13 +0000 (-0600) Subject: of: Modify of_device_get_modalias to be passed struct device X-Git-Tag: v2.6.36-rc1~543^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34a1c1e8c700f7cd849deb21193718a172722f8d;p=pandora-kernel.git of: Modify of_device_get_modalias to be passed struct device Now that the of_node pointer is part of struct device, of_device_get_modalias could be used on any struct device that has the device node pointer set. This patch changes of_device_get_modalias to accept a struct device instead of a struct of_device. Signed-off-by: Grant Likely CC: Michal Simek CC: Benjamin Herrenschmidt CC: Wolfram Sang CC: Stephen Rothwell CC: microblaze-uclinux@itee.uq.edu.au CC: linuxppc-dev@ozlabs.org --- Reading git-diff-tree failed