On Wed, Feb 19, 2014 at 09:03:51PM +0100, Erik Faye-Lund wrote: > On Wed, Feb 19, 2014 at 5:04 PM, Thierry Reding > <thierry.reding at gmail.com> 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?
I'd prefer to keep this here for now. We can move it to a more central location when another module starts using it. Thierry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140219/12cffa07/attachment.pgp>