Imo you’re probably already nearly there. Most new developers are web developers having done a 6 week bootcamp and while there is an abundance of these roles now, I imagine they will be the first to be automated.
Anything that requires deep technical knowledge will provide job security
Embedded programming, signal processing, performance optimization.
Look into IoT. A lot of your knowledge could be directly transposable to embedded devices and the industry is basically still in its infancy.
Start working on RISC-V ecosystem.
Google fuchsia.
IoT is the natural progression. Robotics software perhaps.
undefined
Linux device driver development is a rare skill. You’re fine. Linux isn’t getting anywhere, and device makers are still making devices.
There are talks about moving drivers to Rust, so that’s probably the next thing you’ll have to learn.