usb: xhci: tegra: fix compilation with lockdep enabled
authorAlban Bedel <alban.bedel@avionic-design.de>
Tue, 12 May 2015 08:34:09 +0000 (13:34 +0530)
committerMatthew Pedro <mapedro@nvidia.com>
Tue, 19 May 2015 18:03:17 +0000 (11:03 -0700)
commit909e29cb3cf1f71cf0579f5d9df029c16c8b7dbb
tree4f5f373d1e0af4f0652d56c085e2ea06f0c3c9d5
parent2c9605fea66e0c5b697873b1eb4ff067b80d35b5
usb: xhci: tegra: fix compilation with lockdep enabled

The sysfs_attr_init() macro expects a pointer to a struct attribute as
argument and not a pointer to a struct device_attribute. This was
bulding with lockdep disabled because in this case the
sysfs_attr_init() macro does nothing.

Bug 1618089

Change-Id: I6225c5c26beccae3848d8d5360a0efabcba60ce5
Signed-off-by: Alban Bedel <alban.bedel@avionic-design.de>
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/741614
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
drivers/usb/host/xhci-tegra.c