]> 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)
committerMarek Vasut <marex@denx.de>
Wed, 22 Sep 2021 19:31:05 +0000 (21:31 +0200)
commit532010da67329a1c3dbe92a167486df6e61d4f4a
tree81f78f23808904eb8aca711802c70e876fd98380
parentb207cc92a2e74774f05df2b281a7f530e76d1f61
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