On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding <thierry.reding@xxxxxxxxx> wrote: > +#ifndef __DRM_TEGRA_PRIVATE_H__ > +#define __DRM_TEGRA_PRIVATE_H__ 1 > + > +#include <stdbool.h> > +#include <stdint.h> > + > +#include <xf86atomic.h> > + > +#include "tegra.h" > + > +#if defined(HAVE_VISIBILITY) > +# define drm_private __attribute__((visibility("hidden"))) > +# define drm_public __attribute__((visibility("default"))) > +#else > +# define drm_private > +# define drm_public > +#endif > + Perhaps you could put this where it's visible to other drivers as well, like xf86drm.h? _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel