/* * Copyright (C) 2013-2014 Renesas Electronics Europe Ltd. * Author: Guennadi Liakhovetski * * This program is free software; you can redistribute it and/or modify * it under the terms of version 2 of the GNU General Public License as * published by the Free Software Foundation. */ #ifndef DT_BINDINGS_NBPFAXI_H #define DT_BINDINGS_NBPFAXI_H /** * Use "#dma-cells = <2>;" with the second integer defining slave DMA flags: */ #define NBPF_SLAVE_RQ_HIGH 1 #define NBPF_SLAVE_RQ_LOW 2 #define NBPF_SLAVE_RQ_LEVEL 4 #endif repository'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2016-12-27 14:28:51 -0800
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-12-28 12:36:45 +0200
commitf6c5c1f96d976e1fb9d71fb824629c450ee0a122 (patch)
tree33ad743937a0720c2434efb1f10d68e689d462c8
parent7ce7d89f48834cefece7804d38fc5d85382edf77 (diff)
platform/x86: fix surface3_button build errors
Fix build errors when I2C=m and SURFACE_3_BUTTON=y. The driver uses i2c interfaces so it should depend on I2C. drivers/built-in.o: In function `surface3_driver_init': surface3_button.c:(.init.text+0x75cb0): undefined reference to `i2c_register_driver' drivers/built-in.o: In function `surface3_driver_exit': surface3_button.c:(.exit.text+0x31a8): undefined reference to `i2c_del_driver' Fixes: 1a64b719d3ae (platform/x86: Introduce button support for the Surface 3) Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Benjamin Tissoires <benjamin.tissoires@gmail.com> Cc: platform-driver-x86@vger.kernel.org Cc: Darren Hart <dvhart@infradead.org> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>