diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-15 16:27:40 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-07-22 23:14:29 +0200 |
commit | 73aa86f31bb004c48c5250ea43cca9ed9d51cb17 (patch) | |
tree | c2b6edeab01dcf0cb033b57624c767689715901b /samsung-ipc/devices/ipc_devices.c | |
parent | 73cf5bcb6bc21c0a9b14378bd35f595c48fccd7b (diff) | |
download | hardware_replicant_libsamsung-ipc-73aa86f31bb004c48c5250ea43cca9ed9d51cb17.tar.gz hardware_replicant_libsamsung-ipc-73aa86f31bb004c48c5250ea43cca9ed9d51cb17.tar.bz2 hardware_replicant_libsamsung-ipc-73aa86f31bb004c48c5250ea43cca9ed9d51cb17.zip |
samsung-ipc: make #include relative to samsung-ipc/
This has several advantages:
- It makes the header context more obvious: #include "xmm626.h" could
mislead people into thinking that the xmm626.h header is in the same
directory than the file using that directive, while it is instead in
another location. This in turn could make people suppose that there
is a "xmm626.h" header specific to the galaxys2 driver.
Instead the #include "modems/xmm616/xmm616.h" directive is much more
clear.
- We can have two headers with the same filename.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'samsung-ipc/devices/ipc_devices.c')
-rw-r--r-- | samsung-ipc/devices/ipc_devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samsung-ipc/devices/ipc_devices.c b/samsung-ipc/devices/ipc_devices.c index 73f2914..91663f6 100644 --- a/samsung-ipc/devices/ipc_devices.c +++ b/samsung-ipc/devices/ipc_devices.c @@ -21,7 +21,7 @@ #include <samsung-ipc.h> -#include "ipc_devices.h" +#include "devices/ipc_devices.h" struct ipc_device_desc ipc_devices[] = { { |