]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mvtwsi: Remove unnecessary twsi_baud_rate and twsi_slave_address globals
authorHans de Goede <hdegoede@redhat.com>
Sat, 3 May 2014 15:46:27 +0000 (17:46 +0200)
committerHeiko Schocher <hs@denx.de>
Wed, 14 May 2014 10:59:12 +0000 (12:59 +0200)
commit2072e7262965bb48d7fffb1e283101e6ed8b21a8
tree07cb986d4c61ad22cf1085c56215c61ef516b59a
parentfab356a0b87d57d474d6e87408f1ede98a503150
mvtwsi: Remove unnecessary twsi_baud_rate and twsi_slave_address globals

These are used only once, so their is no need to have them global.

This also stops mvtwsi from using any bss vars making it easier to use
before dram init (to talk to the pmic to set the dram voltage).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/i2c/mvtwsi.c