commit | 0b8bb12e79c5cf368d94162f58a99994e4da9a11 | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Sun Dec 21 17:24:42 2014 +0100 |
committer | Arnd Bergmann <arnd@arndb.de> | Sun Dec 21 22:55:01 2014 +0100 |
tree | e86a4994f15076405d6d8b49059b94ebd1d384d1 | |
parent | 3515f1f1a3d27addd735a6918f5be25e5b12200d [diff] |
ARM: orion5x: remove dependency on hardcoded constants As a preparation for DT support, this changes the orion5x PCI driver further to no longer depend on global variables or constants outside of the probe function. Instead we now use a data structure containing the private data of this driver. This is allocated and filled by the probe function, and will be filled with data from DT in the next step. Signed-off-by: Arnd Bergmann <arnd@arndb.de>