Calling BUS_SETUP_INTR allocates the interrupt structure and inserts it in the interrupt list. If BUS_CONFIG_INTR is called beforehand, the interrupt will not yet be in the list and the function will return with an error.
This change allows function intr_irq_config to allocate the interrupt to be able to store the information about its trigger and polarity.