X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=linux-core%2Fdrm_gem.c;h=0cbf9cab24cabbd19b34ca837e27b04672fc6f84;hb=2f03ba4aad1718a36168550b6a146b79540252e6;hp=053203764484cc2954b1db421ce45f764daa75b4;hpb=085df6491e4975681a6e17ff9a67d01268aa7553;p=platform%2Fupstream%2Flibdrm.git diff --git a/linux-core/drm_gem.c b/linux-core/drm_gem.c index 0532037..0cbf9ca 100644 --- a/linux-core/drm_gem.c +++ b/linux-core/drm_gem.c @@ -25,6 +25,12 @@ * */ +#include + +#include "drmP.h" + +#if OS_HAS_GEM + #include #include #include @@ -34,7 +40,6 @@ #include #include #include -#include "drmP.h" /** @file drm_gem.c * @@ -417,3 +422,22 @@ drm_gem_object_handle_free(struct kref *kref) } EXPORT_SYMBOL(drm_gem_object_handle_free); +#else + +int drm_gem_init(struct drm_device *dev) +{ + return 0; +} + +void drm_gem_open(struct drm_device *dev, struct drm_file *file_private) +{ + +} + +void +drm_gem_release(struct drm_device *dev, struct drm_file *file_private) +{ + +} + +#endif