diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-01-13 14:38:34 +0100 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 19:29:20 -0700 |
commit | 1bf83e558cb29d163f4bc6decbc3800ecf4db195 (patch) | |
tree | ccbf5bc39973a438f69fbd39317ef49a974c76ad /drivers/usb/image | |
parent | e496b617b40f2abf6d49803f56aa1344ce1b9177 (diff) |
PCI: PCIe portdrv: Use driver data to simplify code
PCI Express port driver extension, as defined by struct
pcie_port_device_ext in portdrv.h, is allocated and initialized, but
never used (it also is never freed). Extend it to hold the PCI Express
port type as well as the port interrupt mode, change its name and use it
to simplify the code in portdrv_core.c .
Additionally, remove the redundant interrupt_mode member of struct
pcie_device defined in include/linux/pcieport_if.h .
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/usb/image')
0 files changed, 0 insertions, 0 deletions