Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is the difference between Linux drivers and Android driver

As android kernel is a hacked version of linux kernel..

So the way we write drivers for linux would that work in android or some modifications are to be done .?

like image 730
Virendra Kumar Avatar asked Sep 23 '13 07:09

Virendra Kumar


1 Answers

There are some API differences between Android and Linux kernel drivers code, any drivers written for Android hardware platforms can not get merged into the main kernel tree because they have dependencies on code that only lives in Google's kernel tree, causing it to fail to build in the kernel.org tree.

"Android and Linux are growing back together" would give you more insight to your question.

like image 165
linux_fanatic Avatar answered Oct 26 '22 15:10

linux_fanatic