summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-07-06 22:47:55 (GMT)
committerSimon Glass <sjg@chromium.org>2015-07-21 23:39:41 (GMT)
commitb86f795a378fdeb873cdc464367660fb3b49c443 (patch)
tree55eb85ffe39700247dc4b31b544d49abf33add96 /arch/x86/include/asm
parentfbc4b8af469459425de72530dbded0ddbe157004 (diff)
downloadu-boot-fsl-qoriq-b86f795a378fdeb873cdc464367660fb3b49c443.tar.xz
net: Allow drivers to return -ENOSYS with the write_hwaddr() method
Some drivers may want to implement this method for some of their devices but not for others. So it is not possible to just leave the operation out of the table. Drivers could get around this by masquerading as two separate drivers but that seems unpleasant. Allow the driver to return an error when it does not want to process the write_hwaddr() method. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions