Thread (6 messages) 6 messages, 5 authors, 2010-06-25

Re: [PATCH v3] input/misc: new ADXL345/346 driver

From: Chris Verges <hidden>
Date: 2009-10-20 18:46:08

Possibly related (same subject, not in this thread)

Hi Mike and Michael,
+config INPUT_ADXL34X
+config INPUT_ADXL34X_I2C
+config INPUT_ADXL34X_SPI
Should the INPUT_ADXL34X option be auto-selected when the _I2C or _SPI
counterparts are selected?  Something like:

config HAVE_INPUT_ADXL34X

config INPUT_ADXL34X
	depends on HAVE_INPUT_ADXL34X

config INPUT_ADXL34X_I2C
	bool "..."
	depends on I2C
	select HAVE_INPUT_ADXL34X

config INPUT_ADXL34X_SPI
	bool "..."
	depends on SPI_MASTER
	select HAVE_INPUT_ADXL34X

The end user would only see the INPUT_ADXL34X_SPI and INPUT_ADXL34X_I2C
options, with the common INPUT_ADXL34X option being automagically
selected due to the reverse dependencies.

Chris
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help