forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'du-next-20220303' of git://linuxtv.org/pinchartl/media int…
…o drm-next - R-Car LVDS support for M3-W+ (R8A77961) SoC - R-Car DU misc fixes and cleanups Signed-off-by: Dave Airlie <[email protected]> From: Laurent Pinchart <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
- Loading branch information
Showing
13 changed files
with
16 additions
and
618 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,6 @@ | |
|
||
#include "rcar_du_drv.h" | ||
#include "rcar_du_kms.h" | ||
#include "rcar_du_of.h" | ||
#include "rcar_du_regs.h" | ||
|
||
/* ----------------------------------------------------------------------------- | ||
|
@@ -634,6 +633,9 @@ static int rcar_du_probe(struct platform_device *pdev) | |
unsigned int mask; | ||
int ret; | ||
|
||
if (drm_firmware_drivers_only()) | ||
return -ENODEV; | ||
|
||
/* Allocate and initialize the R-Car device structure. */ | ||
rcdu = devm_drm_dev_alloc(&pdev->dev, &rcar_du_driver, | ||
struct rcar_du_device, ddev); | ||
|
@@ -699,22 +701,7 @@ static struct platform_driver rcar_du_platform_driver = { | |
}, | ||
}; | ||
|
||
static int __init rcar_du_init(void) | ||
{ | ||
if (drm_firmware_drivers_only()) | ||
return -ENODEV; | ||
|
||
rcar_du_of_init(rcar_du_of_table); | ||
|
||
return platform_driver_register(&rcar_du_platform_driver); | ||
} | ||
module_init(rcar_du_init); | ||
|
||
static void __exit rcar_du_exit(void) | ||
{ | ||
platform_driver_unregister(&rcar_du_platform_driver); | ||
} | ||
module_exit(rcar_du_exit); | ||
module_platform_driver(rcar_du_platform_driver); | ||
|
||
MODULE_AUTHOR("Laurent Pinchart <[email protected]>"); | ||
MODULE_DESCRIPTION("Renesas R-Car Display Unit DRM Driver"); | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.