From: Ian Abbott Date: Fri, 1 Feb 2013 13:23:19 +0000 (+0000) Subject: staging: comedi: export comedi_set_hw_dev() X-Git-Tag: v3.9-rc1~127^2~160 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=da71751177f35f0ca5494968cc237511c423a744;p=pandora-kernel.git staging: comedi: export comedi_set_hw_dev() Chnage the inline `comedi_set_hw_dev()` to an exported function and change it's return type from `void` to `int` so we can impose some restrictions (in a later patch) and return an error if necessary. Only a few comedi drivers call this, although they don't need to if the hardware device has been attached automatically via `comedi_auto_config()` and the comedi driver's `auto_attach()` method. Signed-off-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed