fbdev: c2p: Use BUILD_BUG() instead of custom solution
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 12 Jan 2020 17:15:21 +0000 (18:15 +0100)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 9 Mar 2020 10:12:19 +0000 (11:12 +0100)
commitea6658925dcc1119d9bd0084343858fc25451f4a
tree9deb88634f82d9d1aa253bfb07ef7e7192766a53
parent435cb3eaf34e821072134afc2a61329ca2fd7549
fbdev: c2p: Use BUILD_BUG() instead of custom solution

Replace the call to the custom non-existing function by a standard
BUILD_BUG() invocation.

Suggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20200112171521.22443-1-geert@linux-m68k.org
drivers/video/fbdev/c2p_core.h