Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
[pandora-kernel.git] / drivers / parisc / lba_pci.c
index ede6146..3aeb327 100644 (file)
@@ -992,7 +992,7 @@ lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev)
                return;
 
        io_pdc_cell = kzalloc(sizeof(pdc_pat_cell_mod_maddr_block_t), GFP_KERNEL);
-       if (!pa_pdc_cell) {
+       if (!io_pdc_cell) {
                kfree(pa_pdc_cell);
                return;
        }