summaryrefslogtreecommitdiff
path: root/drivers/comedi/comedi_buf.c
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2021-11-17 12:06:00 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 16:48:59 +0100
commit55d0f80ecf0be13c2fdfa0c0917436f88f6502ff (patch)
treecf1abfa6f7a6a38a3332fde72821e022cd6f689c /drivers/comedi/comedi_buf.c
parentdf0e68c1e9945e2ee86d266ce45597bbd8299b06 (diff)
comedi: ni_routing: tools: Update due to moved COMEDI headers
Building of the tools for converting the NI routing information between CSV files (for maintenance) and C files (for building) was broken by the move of the main COMEDI header files to "include/uapi/linux/" and "include/linux/". (These tools are not built as part of the normal kernel build process.) Fix it in the Makefile. A slight niggle is that `#include <linux/comedi.h>` needs to work when compiling the `convert_c_to_py` program, but it cannot use a `-I` option referring to the "uapi" include directory because that interferes with inclusion of other system headers. So it uses `-I.` and makes a local copy (actually a symbolic link) as "./linux/comedi.h". Also remove some unneeded cruft such as the `-D"BIT(x)=(1<<(x))"` preprocessor flag. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Link: https://lore.kernel.org/r/20211117120604.117740-3-abbotti@mev.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/comedi/comedi_buf.c')
0 files changed, 0 insertions, 0 deletions