e4ffc1443d
This converts the test for the obsolete "interrupt-controller" property in /chosen to the new framework. That was the only thing left in the old-style check_chosen() function, so that function is removed, too. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
13 lines
170 B
Text
13 lines
170 B
Text
/dts-v1/;
|
|
|
|
/ {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
PIC: pic@0 {
|
|
reg = <0x0 0x10>;
|
|
interrupt-controller;
|
|
};
|
|
chosen {
|
|
interrupt-controller = <&PIC>;
|
|
};
|
|
};
|