armada_ioctlP.h 499 B

123456789101112131415161718
  1. /*
  2. * Copyright (C) 2012 Russell King
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. #ifndef ARMADA_IOCTLP_H
  9. #define ARMADA_IOCTLP_H
  10. #define ARMADA_IOCTL_PROTO(name)\
  11. extern int armada_##name##_ioctl(struct drm_device *, void *, struct drm_file *)
  12. ARMADA_IOCTL_PROTO(gem_create);
  13. ARMADA_IOCTL_PROTO(gem_mmap);
  14. ARMADA_IOCTL_PROTO(gem_pwrite);
  15. #endif