ptp_pch: eliminate a number of sparse warnings
authorSahara <keun-o.park@windriver.com>
Tue, 26 Mar 2013 19:07:23 +0000 (19:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Mar 2013 16:48:31 +0000 (12:48 -0400)
commit7d3ac5c7799152b817176849e4e95559a1ddf03f
treea6df1230fa42b75f04bacbd95e0f5f1e27e78c5a
parent6bdeaba47d87f48a3943b6899d6c6e6f17d52f1d
ptp_pch: eliminate a number of sparse warnings

This fixes a number of sparse warnings like:
  warning: incorrect type in argument 2 (different address spaces)
    expected void volatile [noderef] <asn:2>*addr
    got unsigned int *<noident>

  warning: Using plain integer as NULL pointer

Additionally this fixes a warning from checkpatch.pl like:
  WARNING: sizeof pch_param.station should be sizeof(pch_param.station)

Signed-off-by: Sahara <keun-o.park@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_pch.c