]> git.baikalelectronics.ru Git - kernel.git/commit
atomisp: kill another define
authorAlan Cox <alan@linux.intel.com>
Mon, 27 Mar 2017 15:14:07 +0000 (16:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Mar 2017 07:04:50 +0000 (09:04 +0200)
commitb18dd1edba6660427fcdc22ba5cd400b14648c01
tree96d98b119a83871ec6ee86ea7ba5c52f8616779e
parente513b635badc3c792853ffa0c648da3d522cb880
atomisp: kill another define

We don't need an ifdef for the sake of 8-12 bytes. Avoid the ifdef added by
470747cd27db1c8341450eef21bc36d6bbecd41a. Instead turn it into a single const
string array at a fixed location thereby saving even more memory.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/media/atomisp/pci/atomisp2/hmm/hmm.c