revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / rom / hidds / base / bus / bus_init.c
blob71764da0161aa8b920eca7b86dc68bec262b6bba
1 /*
2 Copyright © 2019, The AROS Development Team. All rights reserved
3 $Id$
5 Lang: English
6 */
8 #include <aros/debug.h>
10 #include <proto/exec.h>
12 /* We want all other bases obtained from our base */
13 #define __NOLIBBASE__
15 #include LC_LIBDEFS_FILE
17 static int Bus_Init(struct HiddBusIntBase *busBase)
19 struct class_static_data *base = &busBase->hbi_csd;
20 D(bug("[Bus] %s()\n", __func__));
22 HiddBusAB = OOP_ObtainAttrBase(IID_Hidd_Bus);
23 D(bug("[Bus] %s: HiddBusAB %x @ 0x%p\n", __func__, HiddBusAB, &HiddBusAB);)
25 return TRUE;
28 ADD2INITLIB(Bus_Init, 0)