diff options
Diffstat (limited to 'drivers/pnp/pnpbios/core.c')
-rw-r--r-- | drivers/pnp/pnpbios/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pnp/pnpbios/core.c b/drivers/pnp/pnpbios/core.c index 1711e7f2961..76d398531da 100644 --- a/drivers/pnp/pnpbios/core.c +++ b/drivers/pnp/pnpbios/core.c | |||
@@ -212,6 +212,7 @@ static int pnpbios_get_resources(struct pnp_dev *dev) | |||
212 | if (!pnpbios_is_dynamic(dev)) | 212 | if (!pnpbios_is_dynamic(dev)) |
213 | return -EPERM; | 213 | return -EPERM; |
214 | 214 | ||
215 | dev_dbg(&dev->dev, "get resources\n"); | ||
215 | node = kzalloc(node_info.max_node_size, GFP_KERNEL); | 216 | node = kzalloc(node_info.max_node_size, GFP_KERNEL); |
216 | if (!node) | 217 | if (!node) |
217 | return -1; | 218 | return -1; |
@@ -234,6 +235,7 @@ static int pnpbios_set_resources(struct pnp_dev *dev) | |||
234 | if (!pnpbios_is_dynamic(dev)) | 235 | if (!pnpbios_is_dynamic(dev)) |
235 | return -EPERM; | 236 | return -EPERM; |
236 | 237 | ||
238 | dev_dbg(&dev->dev, "set resources\n"); | ||
237 | node = kzalloc(node_info.max_node_size, GFP_KERNEL); | 239 | node = kzalloc(node_info.max_node_size, GFP_KERNEL); |
238 | if (!node) | 240 | if (!node) |
239 | return -1; | 241 | return -1; |