Skip to content

Commit

Permalink
exported functions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andy928 committed Jan 18, 2013
1 parent cded0e5 commit 3ba30c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/ata/libata-core.c
Expand Up @@ -7368,7 +7368,7 @@ int (*funcSYNOSendDiskPortDisEvent)(unsigned int, unsigned int) = NULL;
EXPORT_SYMBOL(funcSYNOSendDiskPortDisEvent);
#endif /* MY_ABC_HERE */

#ifdef (defined(MY_DEF_HERE) || defined(XPENOLOGY))
#if (defined(MY_DEF_HERE) || defined(XPENOLOGY))
int (*funcSYNOSendEboxRefreshEvent)(int portIndex) = NULL;
EXPORT_SYMBOL(funcSYNOSendEboxRefreshEvent);
#endif
Expand Down
5 changes: 5 additions & 0 deletions include/linux/syno_user.h
Expand Up @@ -3,6 +3,11 @@
#ifndef __SYNO_USER_H_
#define __SYNO_USER_H_

/**
* XPEnology project
*/
#define XPENOLOGY

/**
* Dsc: Synology multimedia server feature. For indexing video, photo,
* music.
Expand Down
2 changes: 1 addition & 1 deletion kernel/sysctl.c
Expand Up @@ -222,7 +222,7 @@ EXPORT_SYMBOL(g_esata_7042);
int (*funcSYNOGetHwCapability)(CAPABILITY *) = NULL;
EXPORT_SYMBOL(funcSYNOGetHwCapability);

#ifdef (defined(MY_DEF_HERE) || defined(XPENOLOGY))
#if (defined(MY_DEF_HERE) || defined(XPENOLOGY))
EUNIT_PWRON_TYPE (*funcSynoEunitPowerctlType)(void) = NULL;
EXPORT_SYMBOL(funcSynoEunitPowerctlType);
#endif
Expand Down

0 comments on commit 3ba30c2

Please sign in to comment.