wcnss: add support for configuring the serial number

The WLAN driver needs to know the device serial number.  This change
introduces a sysfs entry to allow userspace to configure the serial
number, and exports an API which allows WLAN and other wireless
technologies to query the serial number.

CRs-Fixed: 334945
Change-Id: Ib3937bef172ecf471d35cf3554289321531c5ea0
Signed-off-by: Jeff Johnson <jjohnson@codeaurora.org>
diff --git a/include/linux/wcnss_wlan.h b/include/linux/wcnss_wlan.h
index c97c664..9759b32 100644
--- a/include/linux/wcnss_wlan.h
+++ b/include/linux/wcnss_wlan.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
+/* Copyright (c) 2011-2012, Code Aurora Forum. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -42,6 +42,7 @@
 				enum wcnss_opcode opcode);
 int req_riva_power_on_lock(char *driver_name);
 int free_riva_power_on_lock(char *driver_name);
+unsigned int wcnss_get_serial_number(void);
 #define wcnss_wlan_get_drvdata(dev) dev_get_drvdata(dev)
 #define wcnss_wlan_set_drvdata(dev, data) dev_set_drvdata((dev), (data))