platform.h 361 B

123456789101112131415161718192021222324
  1. #ifndef __PLATFORM_H__
  2. #define __PLATFORM_H__
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. struct gk_platform_driver
  7. {
  8. char *name;
  9. int (*probe)(void *);
  10. int (*remove)(void *);
  11. };
  12. int gk_platform_driver_init(struct gk_platform_driver *plat_drv);
  13. int gk_platform_driver_uninit(struct gk_platform_driver *plat_drv);
  14. #ifdef __cplusplus
  15. }
  16. #endif
  17. #endif