diff options
| author | 2012-05-31 14:08:31 +0100 | |
|---|---|---|
| committer | 2012-06-04 20:49:19 -0700 | |
| commit | a6e11e3b9ffe994f1f2f8ab74ebdc9d1937c16e0 (patch) | |
| tree | efba3aad4a8e01c98b19e676bb6f8ca8b8d32f32 /scripts/patch-kernel | |
| parent | staging: comedi: amplc_pc263: Add attach_pci() hook (diff) | |
staging: comedi: amplc_dio200: Use IS_ENABLED()
Change conditional compilation on kernel options to use the IS_ENABLED()
macro. Remove most of the #ifdef lines and add extra if
(IS_ENABLED(xxx)) tests so the compiler can remove unreachable code.
The pci_driver stuff and device table and some of the static const data
is still conditionally compiled.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
