Any suggestions on that?
The location of the include files didn't change. The question is, why kernel 6.15 ignores
them while kernel 6.14 doesn't. And the reason is that use of EXTRA_CFLAGS in Kbuild
is deprecated a long time ago in favor of ccflags-y. And kernel 6.15 gets serious about the
deprecation. Since the additional include directories are part of EXTRA_CFLAGS (as can be
seen from Kbuild), the build fails.
Without replacing each and every #include line (your approach) or removing EXTRA_CFLAGS
altogether, a much smarter approach is the inclusion of one single line
ccflags-y = $(EXTRA_CFLAGS)
in Kbuild, when all is said and done about EXTRA_CFLAGS.
All other adjustments are just as obvious, but it takes a lot of tedious work to
patch the files at the right place (after all the patches already applied by the deb file
nvidia-tesla-470-kernel-dkms_470.256.02-7.siduction.1_amd64.deb.
If you are eager to work it out, follow the steps of the previous post.
But don't expect someone else to do it unless there is heavy demand.