compat: backport a define for SOL_NFC
authorThierry Escande <thierry.escande@linux.intel.com>
Mon, 8 Apr 2013 10:26:07 +0000 (12:26 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 Apr 2013 19:54:37 +0000 (21:54 +0200)
This backports: "NFC: llcp: Implement socket options"

Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/include/linux/compat-3.10.h

index bfd990364d9b5634ac781603cb25596a5c4aa4fc..b4d8bc5affb655ad6fb1c3d94c451673f3f094fb 100644 (file)
@@ -116,6 +116,12 @@ static inline void __iomem *pci_platform_rom(struct pci_dev *pdev, size_t *size)
        return NULL;
 }
 
+/*
+ * backport SOL_NFC -- see commit:
+ * NFC: llcp: Implement socket options
+ */
+#define SOL_NFC                280
+
 #else /* kernel is >= 3.10 */
 /*
  * We'd delete this upstream ever got this, we use our