drm: change logger visibility

This commit is contained in:
Victor Brekenfeld 2021-04-25 23:35:03 +02:00
parent 0414417f3c
commit c8b370a030
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ pub struct AtomicDrmSurface<A: AsRawFd + 'static> {
state: RwLock<State>,
pending: RwLock<State>,
test_buffer: Mutex<Option<(DumbBuffer, framebuffer::Handle)>>,
pub(super) logger: ::slog::Logger,
pub(crate) logger: ::slog::Logger,
}
impl<A: AsRawFd + 'static> AtomicDrmSurface<A> {

View File

@ -25,7 +25,7 @@ pub struct LegacyDrmSurface<A: AsRawFd + 'static> {
crtc: crtc::Handle,
state: RwLock<State>,
pending: RwLock<State>,
pub(super) logger: ::slog::Logger,
pub(crate) logger: ::slog::Logger,
}
impl<A: AsRawFd + 'static> LegacyDrmSurface<A> {