1.1 --- a/pkg/devices/input/include/input-keypad-client.h Mon Jun 19 16:54:57 2023 +0200
1.2 +++ b/pkg/devices/input/include/input-keypad-client.h Mon Jun 19 16:55:47 2023 +0200
1.3 @@ -54,8 +54,8 @@
1.4 {
1.5 /* Memory and keypad access capabilities. */
1.6
1.7 - l4re_ds_t _mem;
1.8 - l4_cap_idx_t _keypad_cap;
1.9 + l4re_ds_t _mem = L4_INVALID_CAP;
1.10 + l4_cap_idx_t _keypad_cap = L4_INVALID_CAP;
1.11
1.12 /* Keypad layout details. */
1.13
1.14 @@ -76,7 +76,6 @@
1.15
1.16 /* Initialisation functions. */
1.17
1.18 - void init_memory();
1.19 void init_keypad();
1.20 void init_keypad_data();
1.21 void release_keypad_data();
1.22 @@ -89,7 +88,6 @@
1.23 public:
1.24 explicit Input_keypad_client(Keypad_generic *keypad) : _keypad(keypad)
1.25 {
1.26 - init_memory();
1.27 init_keypad();
1.28 init_keypad_data();
1.29 }