summaryrefslogtreecommitdiff
path: root/bsp/gkipc/platform/platform.h
blob: 80027dfcdb2a2550d60154e7bc7d2087986d32c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __PLATFORM_H__
#define __PLATFORM_H__

#ifdef __cplusplus
extern "C" {
#endif


struct gk_platform_driver
{
    char *name;
    int (*probe)(void *);
    int (*remove)(void *);
};

int gk_platform_driver_init(struct gk_platform_driver *plat_drv);
int gk_platform_driver_uninit(struct gk_platform_driver *plat_drv);

#ifdef __cplusplus
}
#endif

#endif