ar7: fix ac49x compilation with 4.9
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 12 Feb 2018 10:40:38 +0000 (11:40 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Mon, 12 Feb 2018 10:45:33 +0000 (11:45 +0100)
commit09bc44454f0b26d9f1a5fee991ed309ef10e81f6
tree533b0ad94f0cc1f0c2f4ff80f1a5b51847791479
parenta464fba7eb0c5a0d8d6cb2fb9ae8fe00d67d8e2b
ar7: fix ac49x compilation with 4.9

This will introduce a warning on 3.18, but fixes an error when
compiling for 4.9.

Fixes: cf9e0a59aabd ("ar7: add kernel 4.9 support")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
target/linux/ar7/files/drivers/mtd/ac49xpart.c