diff options
| author | David Brownell <david-b@pacbell.net> | 2005-01-06 01:28:25 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2005-01-06 01:28:25 -0800 |
| commit | b5fffe28393d88a2fac2027c77b050896d30daca (patch) | |
| tree | 2d3f9a3e2e294f95dc104f517184c020d3ff64f4 /net/lapb/lapb_iface.c | |
| parent | 3901d84dd988c6545de6b1a4ad0edab21f6b15b7 (diff) | |
[PATCH] Driver Core: handle bridged platform bus segments
During setup to access platform bus segments through bridges, the current
platform_device_register() ignores the resource parent specified by the
bridge. That means it'll always detect a (false) resource conflict with
the bridge, and fail the resource reservation step.
This patch makes that code use the specified parent resource, defaulting
to "iomem_resource" or "ioport_resource" only for a NULL parent (that is,
for devices that aren't accessed through a bridge).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
