From 1f26be34b8b690c92cbefe4f16f8659065501541 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 14 Apr 2005 12:02:19 +0000 Subject: [PATCH] Allow for multiple BOOT_DRIVER()s in the same file, provided that they have different probe functions. --- src/include/dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/dev.h b/src/include/dev.h index b5a2edda..73a4ca65 100644 --- a/src/include/dev.h +++ b/src/include/dev.h @@ -55,7 +55,7 @@ struct boot_driver { }; #define BOOT_DRIVER( driver_name, probe_func ) \ - static struct boot_driver boot_driver \ + static struct boot_driver boot_driver_ ## probe_func \ __attribute__ ((used,__section__(".boot_drivers"))) = { \ .name = driver_name, \ .probe = probe_func, \