]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
block: swim3: fix unterminated of_device_id table
authorAxel Lin <axel.lin@gmail.com>
Wed, 3 Aug 2011 13:02:55 +0000 (15:02 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 3 Aug 2011 13:02:55 +0000 (15:02 +0200)
of_device_id structures need a NULL terminating entry, add it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/swim3.c

index 773bfa7927775396f80c004b4d6551c485efe4c6..ae3e167e17adc3f18bc4b14fe3b1635d299bfb3e 100644 (file)
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] =
        {
        .compatible     = "swim3"
        },
+       { /* end of list */ }
 };
 
 static struct macio_driver swim3_driver =