aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorLaurentiu Tudor <[email protected]>2014-08-27 17:09:39 +0300
committerGrant Likely <[email protected]>2014-09-08 15:57:26 +0100
commit7dbe5849fb50fc9b5b77a8f590c87a577ddc9bb6 (patch)
tree9671581b49986f4fedaafe72b8ca45c949e7ab54 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parentb9c74fd7d231d4086eb6b6af60dccd666cda1288 (diff)
of: make sure of_alias is initialized before accessing it
Simply swap of_alias and of_chosen initialization so that of_alias ends up read first. This must be done because it is accessed couple of lines below when trying to initialize the of_stdout using the alias based legacy method. [Fixes a752ee5 - tty: Update hypervisor tty drivers to use core stdout parsing code] Signed-off-by: Laurentiu Tudor <[email protected]> [glikely: Don't move the 'if (!of_aliases)' test] Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions