diff options
author | H Hartley Sweeten <[email protected]> | 2013-04-23 11:05:06 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-04-23 12:55:03 -0700 |
commit | a0eeed40100b2eca57afdf99d76c57dedd218a8a (patch) | |
tree | cece34cb7c50006f934d7b65c6111d750488673d /net/lapb/lapb_in.c | |
parent | eca7cf725617c08f02a9f74155ced6d2de9f0a63 (diff) |
staging: comedi: ni_labpc: fix legacy driver build
CONFIG_COMEDI_NI_LABPC_ISA is a tristate option. #if IS_ENABLED()
needs to be used instead of #ifdef in order to build the legacy
specific code in this driver.
The local variable 'board' is not used in labpc_attach(). Remove it.
The labpc_detach() function is only referenced in this file. Make
it static.
Signed-off-by: H Hartley Sweeten <[email protected]>
Cc: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions