summaryrefslogtreecommitdiffstats
path: root/arch/microblaze/include/asm/gpio.h
blob: f5cad566861798b495704bcad14e6cc87af57664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _ASM_MICROBLAZE_GPIO_H_
#define _ASM_MICROBLAZE_GPIO_H_

#include <asm-generic/gpio.h>

/* Allocation functions */
extern int gpio_alloc_dual(u32 baseaddr, const char *name, u32 gpio_no0,
			   u32 gpio_no1);
extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);

#define gpio_status()	gpio_info()
extern void gpio_info(void);

#endif

OpenPOWER on IntegriCloud