1.1 --- a/pkg/devices/lcd/include/lcd-jz4740-device.h Fri Nov 10 22:30:39 2023 +0100
1.2 +++ b/pkg/devices/lcd/include/lcd-jz4740-device.h Sat Nov 11 23:23:22 2023 +0100
1.3 @@ -43,6 +43,10 @@
1.4 l4_addr_t desc_vaddr;
1.5 l4re_dma_space_dma_addr_t desc_paddr;
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 @@ -52,7 +56,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 }