]> git.dujemihanovic.xyz Git - u-boot.git/commit
ddr: altera: use KBUILD_BASENAME instead of __FILE__
authorMarek Vasut <marex@denx.de>
Tue, 14 Sep 2021 03:20:19 +0000 (05:20 +0200)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 28 Sep 2021 15:50:55 +0000 (18:50 +0300)
commitc74d0ae519e4b65a195d49d00c562ff7fe86c906
tree0b5b24deac2eb6226c19dd86982cf5cd56224012
parent9de0f144c70899f498ba2b90ae2758dcf79ce481
ddr: altera: use KBUILD_BASENAME instead of __FILE__

The KBUILD_BASENAME contains just the name of the compiled module,
in this case 'sequencer', rather than a full path to the compiled
file. Use it to prevent pulling the full path into the U-Boot binary,
which is useless and annoying.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Siew Chin Lim <elly.siew.chin.lim@intel.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Cc: Tien Fong Chee <tien.fong.chee@intel.com>
drivers/ddr/altera/sequencer.c