/* * PCI <-> OF mapping helpers * * Copyright 2011 IBM Corp. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include <linux/irqdomain.h> #include <linux/kernel.h> #include <linux/pci.h> #include <linux/of.h> #include <linux/of_irq.h> #include <linux/of_pci.h> #include "pci.h"
void pci_set_of_node(struct pci_dev *dev) { if (!dev->bus->dev.of_node) return; dev->dev.of_node = of_pci_find_child_device(dev->bus->dev.of_node, dev->devfn); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 43 | 100.00% | 1 | 100.00% |
Total | 43 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 47 | 100.00% | 1 | 100.00% |
Total | 47 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 27 | 100.00% | 1 | 100.00% |
Total | 27 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 74 | 92.50% | 1 | 50.00% |
david daney | david daney | 6 | 7.50% | 1 | 50.00% |
Total | 80 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
marc zyngier | marc zyngier | 96 | 100.00% | 3 | 100.00% |
Total | 96 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
benjamin herrenschmidt | benjamin herrenschmidt | 234 | 68.42% | 1 | 20.00% |
marc zyngier | marc zyngier | 102 | 29.82% | 3 | 60.00% |
david daney | david daney | 6 | 1.75% | 1 | 20.00% |
Total | 342 | 100.00% | 5 | 100.00% |