nb/intel/fsp_sandybridge: Fix lost const qualifier on 'device_t'

Missing '*const' in Change #26195 added into function
northbridge_get_tseg_base(void).

Change-Id: Ideb9a9cb98d34f2ed1034b8ee20b3b06aa5ff1e2
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/26455
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Elyes HAOUAS 2018-05-22 10:26:09 +02:00 committed by Nico Huber
parent 8aa50730aa
commit 148b1db9c9
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ static u32 northbridge_get_base_reg(struct device *dev, int reg)
u32 northbridge_get_tseg_base(void)
{
struct device *dev = dev_find_slot(0, PCI_DEVFN(0, 0));
struct device *const dev = dev_find_slot(0, PCI_DEVFN(0, 0));
return northbridge_get_base_reg(dev, TSEG);
}