diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-12-24 23:23:00 +0100 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-01-08 01:36:56 +0100 |
commit | afa36dadd3b3f509ab48eabc1a89f487be6c6af4 (patch) | |
tree | 5ed477e222e152780fd5c17d5ea7fe875ab5ebaa /sound/i2c | |
parent | firewire: core: adds constant qualifier for local helper functions (diff) | |
download | linux-afa36dadd3b3f509ab48eabc1a89f487be6c6af4.tar.xz linux-afa36dadd3b3f509ab48eabc1a89f487be6c6af4.zip |
firewire: core: replace magic number with macro
In IEEE 1394 specification, the size of bus information block of
configuration ROM is fixed to 5, thus the offset of root directory is 5.
Current implementation to handle device structures has the hard-coded
offset.
This commit replaces the offset with macro.
Link: https://lore.kernel.org/r/20231221134849.603857-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions