gpio/pcal9535a: Limit name space, add static.
Change-Id: I474bad1a44efda66cd2e324483742a257fac77e2 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com>
This commit is contained in:
parent
15dbaa8e90
commit
f35d0e6ead
|
@ -542,7 +542,7 @@ static const struct gpio_driver_api gpio_pcal9535a_drv_api_funcs = {
|
|||
* @param dev Device struct
|
||||
* @return 0 if successful, failed otherwise.
|
||||
*/
|
||||
int gpio_pcal9535a_init(struct device *dev)
|
||||
static int gpio_pcal9535a_init(struct device *dev)
|
||||
{
|
||||
const struct gpio_pcal9535a_config * const config =
|
||||
dev->config->config_info;
|
||||
|
|
|
@ -30,14 +30,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Initialization function for PCAL9535A
|
||||
*
|
||||
* @param dev Device struct
|
||||
* @return 0 if successful, failed otherwise
|
||||
*/
|
||||
extern int gpio_pcal9535a_init(struct device *dev);
|
||||
|
||||
/** Configuration data */
|
||||
struct gpio_pcal9535a_config {
|
||||
/** The master I2C device's name */
|
||||
|
|
Loading…
Reference in New Issue