[PATCH 04/12] Jean-christophe, more careful please

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 23 05:24:12 EDT 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/base/resource.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/base/resource.c b/drivers/base/resource.c
index f6c429f..0da1680 100644
--- a/drivers/base/resource.c
+++ b/drivers/base/resource.c
@@ -109,7 +109,7 @@ EXPORT_SYMBOL(add_dm9000_device);
 struct device_d *add_usb_ehci_device(int id, resource_size_t hccr,
 		resource_size_t hcor, void *pdata)
 {
-	resource_size_t *res;
+	struct resource *res;
 
 	res = xzalloc(sizeof(struct resource) * 2);
 	res[0].start = hccr;
-- 
1.7.6.3




More information about the barebox mailing list