mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-05-02 10:07:26 -04:00
pwm: lpss: Actually use a module namespace by defining the namespace earlier
DEFAULT_SYMBOL_NAMESPACE must be already defined when <linux/export.h> is included. So move the define above the include block. With the DEFAULT_SYMBOL_NAMESPACE being defined too late, the exported symbols end up in the default namespace. So the respective modules can use the symbols defined in pwm-lpss.c just fine and up to now just imported the PWM_LPSS namespace without any gain. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
This commit is contained in:
committed by
Andy Shevchenko
parent
c42a407bee
commit
112f5e0917
@@ -10,6 +10,8 @@
|
||||
* Author: Alan Cox <alan@linux.intel.com>
|
||||
*/
|
||||
|
||||
#define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"
|
||||
|
||||
#include <linux/bits.h>
|
||||
#include <linux/delay.h>
|
||||
#include <linux/io.h>
|
||||
@@ -19,8 +21,6 @@
|
||||
#include <linux/pm_runtime.h>
|
||||
#include <linux/time.h>
|
||||
|
||||
#define DEFAULT_SYMBOL_NAMESPACE "PWM_LPSS"
|
||||
|
||||
#include "pwm-lpss.h"
|
||||
|
||||
#define PWM 0x00000000
|
||||
|
||||
Reference in New Issue
Block a user