aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/zynq-fpga.c
diff options
context:
space:
mode:
authorSudip Mukherjee <[email protected]>2016-11-12 21:22:12 +0000
committerGreg Kroah-Hartman <[email protected]>2016-11-29 20:25:34 +0100
commitdd5c472a60e43549d789a17a8444513eec64bd7e (patch)
tree0c4e511c74fdded742c37f07246d460fc6828446 /drivers/fpga/zynq-fpga.c
parent826a4c6574efafdcfc292cdaf4dd2ccd6133d5f0 (diff)
ppdev: check before attaching port
After parport starts using the device model, all pardevice drivers should decide in their match_port callback function if they want to attach with that particulatr port. ppdev has been converted to use the new parport device-model code but pp_attach() tried to attach with all the ports. Create a new array of pointer and use that to remember the ports we have attached. And use that information to skip attaching ports which we have already attached. Tested-by: Joe Lawrence <[email protected]> Signed-off-by: Sudip Mukherjee <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions