diff for duplicates of <20100311180420.4824.30530.stgit@angua> diff --git a/a/1.txt b/N1/1.txt index 3d4c4fc..820d83d 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -49,8 +49,8 @@ index 1c6d684..ea7d024 100644 static int of_dev_node_match(struct device *dev, void *data) { -- return to_of_device(dev)->node == data; -+ return to_of_device(dev)->dev.of_node == data; +- return to_of_device(dev)->node = data; ++ return to_of_device(dev)->dev.of_node = data; } struct of_device *of_find_device_by_node(struct device_node *np) @@ -58,8 +58,8 @@ index 1c6d684..ea7d024 100644 static int of_dev_phandle_match(struct device *dev, void *data) { phandle *ph = data; -- return to_of_device(dev)->node->phandle == *ph; -+ return to_of_device(dev)->dev.of_node->phandle == *ph; +- return to_of_device(dev)->node->phandle = *ph; ++ return to_of_device(dev)->dev.of_node->phandle = *ph; } struct of_device *of_find_device_by_phandle(phandle ph) diff --git a/a/content_digest b/N1/content_digest index 807d968..bb7268a 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020100311174830.4824.19820.stgit@angua\0" "From\0Grant Likely <grant.likely@secretlab.ca>\0" - "Subject\0[PATCH 06/37] arch/microblaze: use .dev.of_node instead of .node in struct of_device\0" - "Date\0Thu, 11 Mar 2010 11:04:21 -0700\0" + "Subject\0[PATCH 06/37] arch/microblaze: use .dev.of_node instead of .node in\0" + "Date\0Thu, 11 Mar 2010 18:04:21 +0000\0" "To\0monstr@monstr.eu" gregkh@suse.de benh@kernel.crashing.org @@ -77,8 +77,8 @@ " \n" " static int of_dev_node_match(struct device *dev, void *data)\n" " {\n" - "-\treturn to_of_device(dev)->node == data;\n" - "+\treturn to_of_device(dev)->dev.of_node == data;\n" + "-\treturn to_of_device(dev)->node = data;\n" + "+\treturn to_of_device(dev)->dev.of_node = data;\n" " }\n" " \n" " struct of_device *of_find_device_by_node(struct device_node *np)\n" @@ -86,10 +86,10 @@ " static int of_dev_phandle_match(struct device *dev, void *data)\n" " {\n" " \tphandle *ph = data;\n" - "-\treturn to_of_device(dev)->node->phandle == *ph;\n" - "+\treturn to_of_device(dev)->dev.of_node->phandle == *ph;\n" + "-\treturn to_of_device(dev)->node->phandle = *ph;\n" + "+\treturn to_of_device(dev)->dev.of_node->phandle = *ph;\n" " }\n" " \n" struct of_device *of_find_device_by_phandle(phandle ph) -3c6778c6d3d13750ae79a92fd385f591da9feb4809676516a16c6c7328882585 +4ca5baad45c99b6cd3796594b5ff5ca0403b2097d39a1be4d8e5eba5809e99c2
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.