uuid: restore the old version of hash for device id generation
authorRocher, JeremyX <jeremyx.rocher@intel.com>
Tue, 7 Feb 2012 09:29:23 +0000 (10:29 +0100)
committerbuildbot <buildbot@intel.com>
Sat, 11 Feb 2012 02:22:15 +0000 (18:22 -0800)
BZ: 22684

To match the usb serial number, the uuid should use the same
algorithm.

Change-Id: Ia31bad349b683519e895e729e153b3efc0ab4b80
Signed-off-by: Rocher, JeremyX <jeremyx.rocher@intel.com>
Reviewed-on: http://android.intel.com:8080/34242
Reviewed-by: Tardy, Pierre <pierre.tardy@intel.com>
Tested-by: Zhang, Dongxing <dongxing.zhang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/misc/uuid.c

index 4c94851..71b943b 100755 (executable)
@@ -38,7 +38,7 @@
 #include <linux/mmc/sdio_ids.h>
 #include <linux/mmc/card.h>
 #include <linux/genhd.h>
-#include <linux/jhash.h>
+#include <linux/jhashv2.h>
 #include <linux/io.h>
 #include <asm/intel_scu_ipc.h>