Commit 52bb69be authored by Rob Herring's avatar Rob Herring Committed by Damien Le Moal

dt-bindings: ata: pata-common: Add missing additionalProperties on child nodes

The PATA child node schema is missing constraints to prevent unknown
properties. As none of the users of this common binding extend the child
nodes with additional properties, adding "additionalProperties: false"
here is sufficient.
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent 6465e260
...@@ -38,6 +38,7 @@ patternProperties: ...@@ -38,6 +38,7 @@ patternProperties:
ID number 0 and the slave drive will have ID number 1. The PATA port ID number 0 and the slave drive will have ID number 1. The PATA port
nodes will be named "ide-port". nodes will be named "ide-port".
type: object type: object
additionalProperties: false
properties: properties:
reg: reg:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment