Re: [PATCH 1/2] platform: support non-pci platform devices

2014-06-23 Thread Thierry Reding
On Mon, Jun 16, 2014 at 02:13:16PM -0400, Rob Clark wrote: [...] diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c [...] +static int +find_non_pci_driver(const char *busid, char *returnList[], int returnListMax) +{ +/* Add more entries here if we

Re: [PATCH 1/2] platform: support non-pci platform devices

2014-06-23 Thread Rob Clark
On Mon, Jun 23, 2014 at 10:54 AM, Thierry Reding thierry.red...@gmail.com wrote: On Mon, Jun 16, 2014 at 02:13:16PM -0400, Rob Clark wrote: [...] diff --git a/hw/xfree86/common/xf86platformBus.c b/hw/xfree86/common/xf86platformBus.c [...] +static int +find_non_pci_driver(const char *busid,

[PATCH 1/2] platform: support non-pci platform devices

2014-06-16 Thread Rob Clark
This makes things not completely fail if DDX implements platformProbe() but the device is not actually a PCI device. Also, the platform device name does not always match the DDX name, so deal with that. I'm sure there are more cases that find_non_pci_driver() needs to handle for that, but this