vme_tsi148: Fix typo in tsi148_slave_get()
authorJoe Schultz <jschultz@xes-inc.com>
Thu, 3 Apr 2014 19:47:55 +0000 (14:47 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Apr 2014 21:08:37 +0000 (14:08 -0700)
commit098ced8fefe4a4e4240fa47b1ed9b00d65b6cd21
treef75b93b89324683cb3de073e53799ec0420c3a3b
parent18d7f891bcc7e49f2900215f17a861ccec34b138
vme_tsi148: Fix typo in tsi148_slave_get()

This patch corrects a typo where "vme_base" was used instead of
"*vme_base". The typo resulted in an incorrect value being returned
to userspace (via vme_user).

It also removes the following compile warning on some platforms:

warning: cast from pointer to integer of different size

[asierra: commit title/log rewording]
Signed-off-by: Joe Schultz <jschultz@xes-inc.com>
Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vme/bridges/vme_tsi148.c