1.1 --- a/pkg/devices/lcd/include/lcd-jz4740-device.h Fri Apr 19 16:25:48 2024 +0200
1.2 +++ b/pkg/devices/lcd/include/lcd-jz4740-device.h Fri Apr 19 16:27:55 2024 +0200
1.3 @@ -42,6 +42,10 @@
1.4
1.5 struct dma_region _desc_region;
1.6
1.7 + /* LCD peripheral abstraction. */
1.8 +
1.9 + Lcd_chip *_chip;
1.10 +
1.11 protected:
1.12 /* Device-specific memory allocation. */
1.13
1.14 @@ -51,7 +55,7 @@
1.15 /* Inherit constructor. */
1.16
1.17 Lcd_jz4740_device(Lcd_chip *chip, Activation *display)
1.18 - : Lcd_device(chip, display)
1.19 + : Lcd_device(display), _chip(chip)
1.20 {
1.21 _setup_memory();
1.22 }