diff options
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/device.h | 4 | ||||
-rw-r--r-- | include/linux/input/auo-pixcir-ts.h | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/linux/device.h b/include/linux/device.h index 9d6464ea99c6..4fd899bd2c0d 100644 --- a/include/linux/device.h +++ b/include/linux/device.h @@ -578,6 +578,10 @@ void __iomem *devm_ioremap_resource(struct device *dev, struct resource *res); void __iomem *devm_request_and_ioremap(struct device *dev, struct resource *res); +/* allows to add/remove a custom action to devres stack */ +int devm_add_action(struct device *dev, void (*action)(void *), void *data); +void devm_remove_action(struct device *dev, void (*action)(void *), void *data); + struct device_dma_parameters { /* * a low level driver may set these to teach IOMMU code about diff --git a/include/linux/input/auo-pixcir-ts.h b/include/linux/input/auo-pixcir-ts.h index 75d4be717714..5049f21928e4 100644 --- a/include/linux/input/auo-pixcir-ts.h +++ b/include/linux/input/auo-pixcir-ts.h @@ -43,12 +43,10 @@ */ struct auo_pixcir_ts_platdata { int gpio_int; + int gpio_rst; int int_setting; - void (*init_hw)(struct i2c_client *); - void (*exit_hw)(struct i2c_client *); - unsigned int x_max; unsigned int y_max; }; |