]> Pileus Git - ~andy/linux/commit
drivers: staging: android: ion: ion_dummy_driver: include "linux/io.h"
authorChen Gang <gang.chen.5i5j@gmail.com>
Sat, 18 Jan 2014 09:04:06 +0000 (17:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 17:01:08 +0000 (09:01 -0800)
commit10f6f9c38a422451989eb4e36a14788b1799b491
treeb0fa9194ee78688d086c0d543ee8feaee3e77c01
parent81e990bbdeb77db80d7e7f0e36e159a0facfdff0
drivers: staging: android: ion: ion_dummy_driver: include "linux/io.h"

Need add "linux/io.h" to pass compiling under metag architecture with
allmodconfig (which use the default 'virt_to_phys'), the related error:

    CC      drivers/staging/android/ion/ion_dummy_driver.o
  drivers/staging/android/ion/ion_dummy_driver.c: In function 'ion_dummy_init':
  drivers/staging/android/ion/ion_dummy_driver.c:81: error: implicit declaration of function 'virt_to_phys'

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_dummy_driver.c