diff options
| author | Tom Rini <[email protected]> | 2023-02-14 15:11:37 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-02-14 15:11:37 -0500 |
| commit | 2bfd217a16978794b43f0a30111b7472fba232b6 (patch) | |
| tree | dfac18d00740bfc8c29da90e62dfb18765bb2143 /scripts/checkpatch.pl | |
| parent | faac9dee8e0629326dc122f4624fc4897e3f38b0 (diff) | |
| parent | 9a8a27a76ad7ab51f19c7f019d7cdac8a3f9f3c9 (diff) | |
Merge tag 'dm-next-valentine' of https://source.denx.de/u-boot/custodians/u-boot-dm into next
Move U-Boot over to the new schema for driver model tags
Diffstat (limited to 'scripts/checkpatch.pl')
| -rwxr-xr-x | scripts/checkpatch.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index ccfcbb3e125..62b764f6c38 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2680,6 +2680,12 @@ sub u_boot_line { "DEVICE_PRIV_AUTO", $herecurr); u_boot_struct_name($line, "per_device_plat_auto", "_plat", "DEVICE_PLAT_AUTO", $herecurr); + + # Avoid using the pre-schema driver model tags + if ($line =~ /^\+.*u-boot,dm-.*/) { + ERROR("PRE_SCHEMA", + "Driver model schema uses 'bootph-...' tags now\n" . $herecurr); + } } sub exclude_global_initialisers { |
