Arnd Bergmann 4bcd8c90ac omapfb: rename omap2 module to omap2fb.ko
In a kernel configuration with both CONFIG_FB_OMAP=m and CONFIG_FB_OMAP2=m,
Kbuild fails to point out that we have two modules with the same name (omapfb.ko),
but instead fails with a cryptic error message like:

ERROR: "omapfb_register_panel" [drivers/video/fbdev/omap/lcd_osk.ko] undefined!

This can now happen when building a randconfig kernel with CONFIG_ARCH_OMAP1,
as the omap1 fbdev driver depends on that, whiel the omap2 fbdev driver can
now be built anywhere with CONFIG_COMPILE_TEST.

The solution is to rename one of the two modules, so for consistency with
the directory naming I decided to rename the omap2 version to omap2fb.ko.

Fixes: 7378f1149884 ("media: omap2: omapfb: allow building it with COMPILE_TEST")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Cc: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
2018-07-24 19:11:27 +02:00
..
2018-06-17 05:00:24 +09:00
2018-06-17 05:00:24 +09:00
2018-06-08 18:08:12 +02:00
2018-06-17 05:00:24 +09:00
2017-02-25 13:20:22 -08:00
2016-02-26 13:28:35 +02:00
2018-06-17 05:00:24 +09:00
2017-09-04 16:00:49 +02:00
2015-10-08 12:19:39 +03:00
2017-05-27 15:41:17 -04:00
2018-06-12 16:19:22 -07:00
2018-03-12 17:06:54 +01:00
2018-04-10 10:20:00 -07:00
2018-06-12 16:19:22 -07:00