raw/cnxk_bphy: fix device lookup
authorTomasz Duszynski <tduszynski@marvell.com>
Sun, 15 Aug 2021 23:12:00 +0000 (01:12 +0200)
committerJerin Jacob <jerinj@marvell.com>
Tue, 28 Sep 2021 13:15:55 +0000 (15:15 +0200)
commitf282af588aca417804d2c29cbfc2a2736cd00616
tree990a075ed78d2d45e65f4a934eacb953701ca593
parent11bb961c018f3f345fca59390d2a3e53210c0abe
raw/cnxk_bphy: fix device lookup

Name needs to be prepared before the lookup otherwise
PMD will not be released.

Fixes: 24d9c5d59d5d ("raw/cnxk_bphy: add baseband PHY skeleton driver")
Cc: stable@dpdk.org
Signed-off-by: Tomasz Duszynski <tduszynski@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
drivers/raw/cnxk_bphy/cnxk_bphy.c