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 773bfa7..ae3e167 100644 (file)
@@ -1184,6 +1184,7 @@ static struct of_device_id swim3_match[] =
        {
        .compatible     = "swim3"
        },
+       { /* end of list */ }
 };
 
 static struct macio_driver swim3_driver =