davidker / unisys

Master repository for new changes to drivers/staging/unisys and drivers/visorbus
Other
2 stars 1 forks source link

visorbushelper.h has include dependencies #63

Closed mriswyth closed 8 years ago

mriswyth commented 8 years ago

During the move of visorbus out of staging, it was discovered that visorbushelper.h had include issues when I changed the order of the includes in visorbus. That caused me to notice that it was only used in the visorbus driver, so I moved it over to the visorbus directory. It would be nice however to determine what the dependencies are with the other include files and clean them up.

Kanban-1212

mriswyth commented 8 years ago

Looks like visorbushelper.h might actually be vbushelper.h.

mriswyth commented 8 years ago

The problem was that vbushelper.h should have included vbusdeviceinfo.h so that it contained the definition for ultra_vbus_deviceinfo.

However, since vbushelper.h is only needed by visorbus the fix I made was to just include the few contents of vbushelper.h in visorbus_private.h.

Branch with fix is githubissue#63-upstream-next.

selltc commented 8 years ago

Greg committed this to staging-next on 9/12 as:

So I am closing this issue.