summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-08-15 15:02:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-08-15 15:30:56 -0700
commit8c3714d60c0b681179000e3e1b5aae15d99e6218 (patch)
treee28e801fe905f2c52b5abb9bfa598eeaf5e273f0 /include/linux/stackprotector.h
parent3131de834e8ff8f6f1581d838a51cf30e8d22b61 (diff)
staging: comedi: make attach handler optional
Some low-level Comedi drivers no longer support manual configuration of devices with the COMEDI_DEVCONFIG ioctl (used by the comedi_config program). For those drivers, the 'attach_pci' or 'attach_usb' handler will be set in the struct comedi_driver to configure devices automatically (via comedi_pci_auto_config() or comedi_usb_auto_config()). Their 'attach' handlers are redundant but the the comedi core module currently requires it to be set. Make the 'attach' handler optional and issue a warning if something wants to call it. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions