Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
# PCMCIA driver modules
# (Try and mimic checks done by configure script.)
if grep -q '^CONFIG_PCMCIA=[ym]' ${kernel_source_dir}/.config 2>/dev/null &&
- tr '\n' ' ' < /lib/modules/${kernel_version}/source/include/pcmcia/ds.h 2>/dev/null |
+ tr '\n' ' ' < /lib/modules/${kernelver}/source/include/pcmcia/ds.h 2>/dev/null |
grep -q 'struct[[:space:]]\+pcmcia_driver[[:space:]]*{[^}]*probe' ; then
BUILT_MODULE_NAME[$nn]="cb_das16_cs"
BUILT_MODULE_LOCATION[$nn]="comedi/drivers/"