Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753500Ab2KKThH (ORCPT ); Sun, 11 Nov 2012 14:37:07 -0500 Received: from arrakis.dune.hu ([78.24.191.176]:42184 "EHLO arrakis.dune.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752016Ab2KKThF (ORCPT ); Sun, 11 Nov 2012 14:37:05 -0500 X-Greylist: delayed 482 seconds by postgrey-1.27 at vger.kernel.org; Sun, 11 Nov 2012 14:37:05 EST From: Luka Perkov To: David Woodhouse Cc: linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Luka Perkov Subject: [PATCH] MTD: use SQUASHFS_MAGIC from uapi/linux/magic.h Date: Sun, 11 Nov 2012 20:32:15 +0100 Message-Id: <1352662335-12028-1-git-send-email-luka@openwrt.org> X-Mailer: git-send-email 1.8.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1022 Lines: 39 Signed-off-by: Luka Perkov --- drivers/mtd/ar7part.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/mtd/ar7part.c b/drivers/mtd/ar7part.c index 9453931..7c057a0 100644 --- a/drivers/mtd/ar7part.c +++ b/drivers/mtd/ar7part.c @@ -26,19 +26,16 @@ #include #include #include -#include #include +#include + #define AR7_PARTS 4 #define ROOT_OFFSET 0xe0000 #define LOADER_MAGIC1 le32_to_cpu(0xfeedfa42) #define LOADER_MAGIC2 le32_to_cpu(0xfeed1281) -#ifndef SQUASHFS_MAGIC -#define SQUASHFS_MAGIC 0x73717368 -#endif - struct ar7_bin_rec { unsigned int checksum; unsigned int length; -- 1.8.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/