What is the difference between Linux drivers and Android driver?

Since the Android kernel is a hacked version of the Linux kernel.

Thus, we will write drivers for Linux that will work in android or some changes.

+4
source share
1 answer

There are some differences in the API between the kernel code of the Android kernel and Linux, any drivers written for the Android hardware platforms cannot be combined into the main kernel of the kernel, since they depend on code that lives only in the Google kernel tree, which leads to its failure to build in the kernel.org tree.

"Android Linux " .

+4

All Articles