From: Paul Gortmaker Date: Mon, 27 Apr 2015 05:25:36 +0000 (-0400) Subject: rtl8192u: don't trample on struct namespace X-Git-Tag: omap-for-v4.2/fixes-rc1^2~92^2~871 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c2918a5ba83c3805f96490de07aee36c16a27b6;p=pandora-kernel.git rtl8192u: don't trample on struct namespace In order to start reducing the duplicated code/constants/macros in this driver, we need to include to provide the defacto versions. However this driver has structs with the same name as the ones in the main include, so namespace collision prevents us from doing step #1. Since the structs actually differ in their respective fields, we can't simply delete the local ones without impacting the runtime; a conversion to use the global ones can be considered at a later date if desired. Rename the ones here with a vendor specific prefix so that we won't have the namespace collision, and hence can continue on with the cleanup. Automated conversion done with: for i in `find . -name '*.[ch]'` ; do \ sed -i 's/struct ieee80211_hdr/struct rtl_80211_hdr/g' $i ; \ done Signed-off-by: Paul Gortmaker Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed