As far as I know Slackware can be appropriate while this linux distro doesn't bring any modifications to the standard linux kernel.
So you can download original kernel source (from
ftp://kernel.org/ or some mirror) add your module, compile it, and nothing will be broken (perhaps
)