Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33d23075 authored by Greg Hackmann's avatar Greg Hackmann Committed by android-build-merger
Browse files

libadf: adf_test: fix clang + kati build

am: 09f8f986

Change-Id: Ie09d5973cae00ba2e54e6e062c2709207adf71e7
parents 0d5300a1 09f8f986
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -19,3 +19,5 @@ cc_library_static {
    local_include_dirs: ["include"],
    export_include_dirs: ["include"],
}

subdirs = ["tests"]
+3 −1
Original line number Diff line number Diff line
@@ -149,11 +149,13 @@ protected:
    int eng;

private:
    const static adf_id_t dev_id = 0;
    const static adf_id_t dev_id;
    const static __u32 fmt8888[];
    const static size_t n_fmt8888;
};

const adf_id_t AdfTest::dev_id = 0;

const __u32 AdfTest::fmt8888[] = {
   DRM_FORMAT_XRGB8888,
   DRM_FORMAT_XBGR8888,