summaryrefslogtreecommitdiff
path: root/include/gpio.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-06-15 12:15:24 -0700
committerInaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>2016-06-16 13:11:06 -0700
commit9752d3d6b6ad8693bc3be71b1ee2d65a6818bd62 (patch)
treeefa76d758e2dc54fb6f67c838c28ad83864c41d7 /include/gpio.h
parent85c64466fff8ff14011fa597d1af1b2d65a88451 (diff)
doc: fix warnings "Error when parsing function declaration." due to __deprecated
Sphinx's parser gets all confused; add a workaround using @fn, document the workaround in the contribution section; bug filed with Sphinx for a permanent sollution. Change-Id: I0200add092da27206b9d006bb13110c4cc37d0e4 Signed-off-by: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Diffstat (limited to 'include/gpio.h')
-rw-r--r--include/gpio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gpio.h b/include/gpio.h
index 1d1205a22..fd44a4227 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -264,6 +264,7 @@ static inline int gpio_pin_read(struct device *port, uint32_t pin,
}
/**
+ * @fn int gpio_set_callback(struct device *port, gpio_callback_t callback)
* @brief Former way of setting the application's callback.
* @param port Pointer to the device structure for the driver instance.
* @param callback Application's callback (or NULL to unset).