commit | 461bfb3fe7d0cf64d9ee2190ad8507e460fab198 | [log] [tgz] |
---|---|---|
author | Marek Szyprowski <m.szyprowski@samsung.com> | Wed Nov 19 11:15:31 2014 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Mon Dec 01 16:50:41 2014 +0000 |
tree | 3b9a0f9bd372b502fc7b03bcd9fa1959abda2b32 | |
parent | 7eba1d51485197fa77c43c42eae3ce04b4b1c1c0 [diff] |
iommu: fix initialization without 'add_device' callback IOMMU drivers can be initialized from of_iommu helpers. Such drivers don't need to provide device_add callbacks to operate properly, so there is no need to fail initialization if the callback is missing. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: Will Deacon <will.deacon@arm.com>