Skip to content

Commit

Permalink
Rename: /dev/gnaX -> /dev/intel_gnaX
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Jozwiak <[email protected]>
  • Loading branch information
Maciej Kwapulinski authored and krzysztofjozwiak committed Mar 24, 2021
1 parent 8ed6ded commit 6e42dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gna-lib/LinuxDriverInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ int LinuxDriverInterface::discoverDevice(uint32_t deviceIndex, gna_parameter *pa
uint32_t found = 0;
for (uint8_t i = 0; i < MAX_GNA_DEVICES; i++)
{
char name[12];
sprintf(name, "/dev/gna%hhu", i);
char name[18];
sprintf(name, "/dev/intel_gna%hhu", i);
fd = open(name, O_RDWR);
if (-1 == fd)
{
Expand Down

0 comments on commit 6e42dc7

Please sign in to comment.